Function csp_bind

Source
pub unsafe extern "C" fn csp_bind(
    socket: *mut csp_socket_t,
    port: u8,
) -> c_int
Expand description

Bind port to socket.

@param[in] socket socket to bind port to @param[in] port port number to bind, use #CSP_ANY for all ports. Bindnig to a specific will take precedence over #CSP_ANY. @return #CSP_ERR_NONE on success, otherwise an error code.