otUdpSocket

#include <udp.h>

This structure represents a UDP socket.

Summary

Public attributes

mContext
void *
A pointer to application-specific context.
mHandle
void *
A handle to platform's UDP.
mHandler
A function pointer to the application callback.
mNext
struct otUdpSocket *
A pointer to the next UDP socket (internal use only).
mPeerName
The peer IPv6 socket address.
mSockName
The local IPv6 socket address.

Public attributes

mContext

void * otUdpSocket::mContext

A pointer to application-specific context.

mHandle

void * otUdpSocket::mHandle

A handle to platform's UDP.

mHandler

otUdpReceive otUdpSocket::mHandler

A function pointer to the application callback.

mNext

struct otUdpSocket * otUdpSocket::mNext

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

mPeerName

otSockAddr otUdpSocket::mPeerName

The peer IPv6 socket address.

mSockName

otSockAddr otUdpSocket::mSockName

The local IPv6 socket address.