| lwIP
    2.1.2
    Lightweight IP stack | 
| Macros | |
| #define | netconn_listen(conn) netconn_listen_with_backlog(conn, TCP_DEFAULT_LISTEN_BACKLOG) | 
| #define | netconn_write(conn, dataptr, size, apiflags) netconn_write_partly(conn, dataptr, size, apiflags, NULL) | 
| Functions | |
| err_t | netconn_listen_with_backlog (struct netconn *conn, u8_t backlog) | 
| err_t | netconn_accept (struct netconn *conn, struct netconn **new_conn) | 
| err_t | netconn_recv_tcp_pbuf (struct netconn *conn, struct pbuf **new_buf) | 
| err_t | netconn_recv_tcp_pbuf_flags (struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) | 
| err_t | netconn_write_partly (struct netconn *conn, const void *dataptr, size_t size, u8_t apiflags, size_t *bytes_written) | 
| err_t | netconn_close (struct netconn *conn) | 
| err_t | netconn_shutdown (struct netconn *conn, u8_t shut_rx, u8_t shut_tx) | 
TCP only functions
| #define netconn_listen | ( | conn | ) | netconn_listen_with_backlog(conn, TCP_DEFAULT_LISTEN_BACKLOG) | 
| #define netconn_write | ( | conn, | |
| dataptr, | |||
| size, | |||
| apiflags | |||
| ) | netconn_write_partly(conn, dataptr, size, apiflags, NULL) | 
Accept a new connection on a TCP listening netconn.
| conn | the TCP listen netconn | 
| new_conn | pointer where the new connection is stored | 
Close a TCP netconn (doesn't delete it).
| conn | the TCP netconn to close | 
Set a TCP netconn into listen mode
| conn | the tcp netconn to set to listen mode | 
| backlog | the listen backlog, only used if TCP_LISTEN_BACKLOG==1 | 
Receive data (in form of a pbuf) from a TCP netconn
| conn | the netconn from which to receive data | 
| new_buf | pointer where a new pbuf is stored when received data | 
Receive data (in form of a pbuf) from a TCP netconn
| conn | the netconn from which to receive data | 
| new_buf | pointer where a new pbuf is stored when received data | 
| apiflags | flags that control function behaviour. For now only: 
 | 
Shut down one or both sides of a TCP netconn (doesn't delete it).
| conn | the TCP netconn to shut down | 
| shut_rx | shut down the RX side (no more read possible after this) | 
| shut_tx | shut down the TX side (no more write possible after this) | 
| err_t netconn_write_partly | ( | struct netconn * | conn, | 
| const void * | dataptr, | ||
| size_t | size, | ||
| u8_t | apiflags, | ||
| size_t * | bytes_written | ||
| ) | 
Send data over a TCP netconn.
| conn | the TCP netconn over which to send data | 
| dataptr | pointer to the application buffer that contains the data to send | 
| size | size of the application data to send | 
| apiflags | combination of following flags : 
 | 
| bytes_written | pointer to a location that receives the number of written bytes |