Function gnunet_sys::GNUNET_NETWORK_socket_select[][src]

pub unsafe extern "C" fn GNUNET_NETWORK_socket_select(
    rfds: *mut GNUNET_NETWORK_FDSet,
    wfds: *mut GNUNET_NETWORK_FDSet,
    efds: *mut GNUNET_NETWORK_FDSet,
    timeout: GNUNET_TIME_Relative
) -> c_int

Check if sockets meet certain conditions.

@param rfds set of sockets to be checked for readability @param wfds set of sockets to be checked for writability @param efds set of sockets to be checked for exceptions @param timeout relative value when to return @return number of selected sockets, #GNUNET_SYSERR on error