netconn_listen[]
err_t netconn_listen ( struct netconn * aNetconn );
Use this function to set a TCP server into the listen mode.
- in aNetConn : the netconn object created with netconn_new.
For an example see netconn_bind.
Actually "netconn_listen" is a macro invoking the real function as
netconn_listen_with_backlog ( aNetConn, TCP_DEFAULT_LISTEN_BACKLOG )
The "TCP_DEFAULT_LISTEN_BACKLOG" parameter is defined as 0xff in "opt.h" and could be overridden in "lwipopt.h" (if you understand the meaning of the value).
(last changed: Sept. 26, 2011)