pub unsafe extern "C" fn csp_accept(
socket: *mut csp_socket_t,
timeout: u32,
) -> *mut csp_conn_tExpand description
Wait/accept a new connection.
@param[in] socket socket to accept connections on, created by calling csp_socket(). @param[in] timeout timeout in mS to wait for a connection, use CSP_MAX_TIMEOUT for infinite timeout. @return New connection on success, NULL on failure or timeout.