pub unsafe extern "C" fn sock_tcp_disconnect(sock: *mut sock_tcp_t)
Expand description
@brief Disconnects a TCP connection
@pre sock != NULL
If we want to timeout this wait period we could
alternatively set the timeout
parameter of @ref sock_tcp_accept() to a
value != @ref SOCK_NO_TIMEOUT.
@param[in] sock A TCP sock object.