otUdpSocket
    #include <udp.h>
  
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.  
       | 
    
        mNetifId
       | 
      
        
         The network interface identifier.  
       | 
    
        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.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.