[ee122] accept() blocks too much...

Vern Paxson vern at icir.org
Thu Sep 20 23:41:10 PDT 2007


> Also. select() will only check up to N-1 socket descriptors. So don't pass
> it N. I can't make it clearer besides saying look at beej's code for
> multi-user sessions and select().

Or per the select() man page:

	The first nfds descriptors are checked in each set; i.e., the
	descriptors from 0 through nfds-1 in the descriptor sets are
	examined.

- Vern


More information about the ee122 mailing list