AddReceiver()
Adds a UDP receiver.
RemoveReceiver()
Removes a UDP receiver.
Open()
Opens a UDP socket.
IsOpen() const
Returns if a UDP socket is open.
Bind()
Binds a UDP socket.
Connect()
Connects a UDP socket.
Close()
Closes the UDP socket.
SendTo()
Sends a UDP message using a socket.
GetEphemeralPort()
Returns a new ephemeral port.
NewMessage()
Returns a new UDP message with default settings (link security enabled and `kPriorityNormal`).
NewMessage()
Returns a new UDP message with default settings (link security enabled and `kPriorityNormal`).
NewMessage()
Returns a new UDP message with default settings (link security enabled and `kPriorityNormal`).
SendDatagram()
Sends an IPv6 datagram.
HandleMessage()
Handles a received UDP message.
HandlePayload()
Handles a received UDP message with offset set to the payload.
GetUdpSockets()
Returns the head of UDP Sockets list.
IsPortInUse() const
Returns whether a udp port is being used by OpenThread or any of it's optional features, e.g. CoAP API.
Returns whether a udp port belongs to the platform or the stack.
IsPortReserved()
AddSocket()
RemoveSocket()
Returns whether a udp port belongs to the platform or the stack.
SetBackboneSocket()
GetBackboneSockets() const
IsBackboneSocket() const
Returns whether a udp port belongs to the platform or the stack.