lwip_listen() function
Set a socket into listen mode. The socket may not have been used for another connection previously.
Arguments
s
the socket to set to listening mode
backlog
(ATTENTION: needs TCP_LISTEN_BACKLOG=1)
Return value
0 on success, non-zero on failure