ot::Ip6::Udp::Bind() method
Binds a UDP socket.
Arguments
aSocket
A reference to the socket.
aSockAddr
A reference to the socket address.
aNetifIdentifier
The network interface identifier.
Return value
kErrorNone Successfully bound the socket. kErrorInvalidArgs Unable to bind to Thread network interface with the given address. kErrorFailed Failed to bind UDP Socket.
ot::Ip6::Udp::Bind() is called by 2 functions and calls 6 functions:
![]()
ot::Ip6::Udp::Bind()
ot::Ip6::Udp::Bind() reads 4 variables and writes 1 variable:
![]()
ot::Ip6::Udp::Bind()