ot::Ip6::Tcp::Listener::Listen() method
Causes incoming TCP connections that match the specified IP address and port to trigger this TCP listener's callbacks. @sa otTcpListen
Arguments
aSockName
The address and port on which to listen for incoming connections.
Return value
kErrorNone Successfully initiated listening on the TCP listener. kErrorFailed Failed to initiate listening on the TCP listener.