otTcpListen() function
Causes incoming TCP connections that match the specified IP address and port to trigger this TCP listener's callbacks.
Arguments
aListener
A pointer to the TCP listener structure that should begin listening.
aSockName
The address and port on which to listen for incoming connections.
Return value
OT_ERROR_NONE Successfully initiated listening on the TCP listener. OT_ERROR_FAILED Failed to initiate listening on the TCP listener.