Represents a UDP socket.

Public Attributes#

The local IPv6 socket address.

The peer IPv6 socket address.

A function pointer to the application callback.

void *

A pointer to application-specific context.

void *

A handle to platform's UDP.

struct otUdpSocket *

A pointer to the next UDP socket (internal use only).

Public Attribute Documentation#

mSockName#

otSockAddr otUdpSocket::mSockName

The local IPv6 socket address.


Definition at line 117 of file include/openthread/udp.h

mPeerName#

otSockAddr otUdpSocket::mPeerName

The peer IPv6 socket address.


Definition at line 118 of file include/openthread/udp.h

mHandler#

otUdpReceive otUdpSocket::mHandler

A function pointer to the application callback.


Definition at line 119 of file include/openthread/udp.h

mContext#

void* otUdpSocket::mContext

A pointer to application-specific context.


Definition at line 120 of file include/openthread/udp.h

mHandle#

void* otUdpSocket::mHandle

A handle to platform's UDP.


Definition at line 121 of file include/openthread/udp.h

mNext#

struct otUdpSocket* otUdpSocket::mNext

A pointer to the next UDP socket (internal use only).


Definition at line 122 of file include/openthread/udp.h