pub fn select(
read_fds: &[&Socket],
write_fds: &[&Socket],
except_fds: &[&Socket],
timeout_ms: Option<u64>,
) -> Result<c_int>
Expand description
Wrapper over system select
Returns number of sockets that are ready.
If timeout isn’t specified then select will be a blocking call.