otUdpSocket

nRF5 SDK for Thread and Zigbee v4.2.0

#include <udp.h>

Data Fields

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

Detailed Description

This structure represents a UDP socket.

  • external/openthread/include/openthread/udp.h