ot::Ip6::Udp::Open() method
Opens a UDP socket.
Arguments
aSocket
A reference to the socket.
aHandler
A pointer to a function that is called when receiving UDP messages.
aContext
A pointer to arbitrary context information.
Return value
kErrorNone Successfully opened the socket. kErrorFailed Failed to open the socket.
ot::Ip6::Udp::Open() calls 4 functions:
![]()
ot::Ip6::Udp::Open()
ot::Ip6::Udp::Open() reads 1 variable and writes 2 variables:
![]()
ot::Ip6::Udp::Open()