[][src]Function libcoap_sys::coap_dtls_new_server_session

pub unsafe extern "C" fn coap_dtls_new_server_session(
    coap_session: *mut coap_session_t
) -> *mut c_void

Create a new DTLS server-side session. Called after coap_dtls_hello() has returned @c 1, signalling that a validated HELLO was received from a client. This should send a HELLO to the server.

Internal function.

@param coap_session The CoAP session.

@return Opaque handle to underlying TLS library object containing security parameters for the DTLS session.