pub unsafe extern "C" fn nanocoap_sock_url_connect(
url: *const c_char,
sock: *mut nanocoap_sock_t,
) -> c_int
Expand description
@brief Create a CoAP client socket by URL
@param[in] url URL with server information to connect to @param[out] sock CoAP UDP socket
@returns 0 on success @returns <0 on error