dtls_session_addr

Function dtls_session_addr 

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

Extracts the address of the given ::session_t.

@param sess Session to extract address for. @param addrlen Pointer to memory location where the address length should be stored. @return The address or @c NULL if @p sess was @c NULL.