FANDOM


netconn_listenEdit

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)


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.