netconn_close_shutdown() is only used within LwIP.
 
Symbols
loading...
Files
loading...

netconn_close_shutdown() function

Close or shutdown a TCP netconn (doesn't delete it).

Syntax

static err_t netconn_close_shutdown(struct netconn *conn,     u8_t how);
Implemented in api_lib.c:1088

Arguments

conn

the TCP netconn to close or shutdown

how

fully close or only shutdown one side?

Return value

ERR_OK if the netconn was closed, any other err_t on error

References

LocationReferrerText
api_lib.c:1089
netconn_close_shutdown(struct netconn *conn, u8_t how)
api_lib.c:106
static err_t netconn_close_shutdown(struct netconn *conn, u8_t how);
api_lib.c:763netconn_recv_data_tcp()
netconn_close_shutdown(conn, NETCONN_SHUT_RD);
api_lib.c:1128netconn_close()
return netconn_close_shutdown(conn, NETCONN_SHUT_RDWR);
api_lib.c:1165netconn_shutdown()
return netconn_close_shutdown(conn, (u8_t)((shut_rx ? NETCONN_SHUT_RD : 0) | (shut_tx ? NETCONN_SHUT_WR : 0)));

Call Tree

Functions calling netconn_close_shutdown()
Functions called by netconn_close_shutdown()
netconn_close_shutdown()
printf()
all items filtered out
Data read by netconn_close_shutdown()
Data written by netconn_close_shutdown()
netconn_close_shutdown()
netconn_close_shutdown()::err
all items filtered out
Type of netconn_close_shutdown()
netconn_close_shutdown()
all items filtered out