Skip to main content

dtls_new_session

Function dtls_new_session 

Source
pub unsafe extern "C" fn dtls_new_session(
    addr: *mut sockaddr,
    addrlen: socklen_t,
) -> *mut session_t
Expand description

Creates a new ::session_t for the given address.

@param addr Address which should be stored in the ::session_t. @param addrlen Length of the @p addr. @return The new session or @c NULL on error.