Function csp_close

Source
pub unsafe extern "C" fn csp_close(conn: *mut csp_conn_t) -> c_int
Expand description

Close an open connection. Any packets in the RX queue will be freed.

@param[in] conn connection. Closing a NULL connection is acceptable. @return #CSP_ERR_NONE on success, otherwise an error code.