ot::Ip6::Tcp::Endpoint::Bind() method
Binds the TCP endpoint to an IP address and port. @sa otTcpBind
Arguments
aSockName
The address and port to which to bind this TCP endpoint.
Return value
kErrorNone Successfully bound the TCP endpoint. kErrorFailed Failed to bind the TCP endpoint.