This structure 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 125 of file include/openthread/udp.h

mPeerName#

otSockAddr otUdpSocket::mPeerName

The peer IPv6 socket address.


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

mHandler#

otUdpReceive otUdpSocket::mHandler

A function pointer to the application callback.


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

mContext#

void* otUdpSocket::mContext

A pointer to application-specific context.


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

mHandle#

void* otUdpSocket::mHandle

A handle to platform's UDP.


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

mNext#

struct otUdpSocket* otUdpSocket::mNext

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


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