MYQTT_SOCKET myqtt_listener_accept ( MYQTT_SOCKET  server_socket)

Public function that performs a TCP listener accept.

Parameters
server_socketThe listener socket where the accept() operation will be called.
Returns
Returns a connected socket descriptor or -1 if it fails.

Referenced by myqtt_support_pipe().