* Shut down one or both sides of a TCP netconn (doesn't delete it). * * @param conn the TCP netconn to shut down * @return ERR_OK if the netconn was closed, any other err_t on error */
| 699 | * @return ERR_OK if the netconn was closed, any other err_t on error |
| 700 | */ |
| 701 | err_t |
| 702 | netconn_shutdown(struct netconn *conn, u8_t shut_rx, u8_t shut_tx) |
| 703 | { |
| 704 | return netconn_close_shutdown(conn, (shut_rx ? NETCONN_SHUT_RD : 0) | (shut_tx ? NETCONN_SHUT_WR : 0)); |
| 705 | } |
| 706 | |
| 707 | #if LWIP_IGMP |
| 708 | /** |
no test coverage detected