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).

The network interface identifier.

Public Attribute Documentation#

mSockName#

otSockAddr otUdpSocket::mSockName

The local IPv6 socket address.


mPeerName#

otSockAddr otUdpSocket::mPeerName

The peer IPv6 socket address.


mHandler#

otUdpReceive otUdpSocket::mHandler

A function pointer to the application callback.


mContext#

void* otUdpSocket::mContext

A pointer to application-specific context.


mHandle#

void* otUdpSocket::mHandle

A handle to platform's UDP.


mNext#

struct otUdpSocket* otUdpSocket::mNext

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


mNetifId#

otNetifIdentifier otUdpSocket::mNetifId

The network interface identifier.