Skip to main content

apr_socket_type_get

Function apr_socket_type_get 

Source
pub unsafe extern "C" fn apr_socket_type_get(
    sock: *mut apr_socket_t,
    type_: *mut c_int,
) -> apr_status_t
Expand description

Return the type of the socket. @param sock The socket to query. @param type The returned type (e.g., SOCK_STREAM).