Question about sockets (asynch)

der Mouse mouse at thunder.mcrcim.mcgill.edu
Sun Jun 16 06:45:57 AEST 1991


In article <14075 at dog.ee.lbl.gov>, torek at elf.ee.lbl.gov (Chris Torek) writes:

> In general, there is no reason to mix select and nonblocking I/O:
> since select tells you which descriptors will not block, you can
> simply avoid operations on those descriptors.  There are special
> cases, though (shared descriptors, e.g.).

Ummm, what about writing?  Even when a select() indicates write-ready
for a descriptor, a write() can still block, under circumstances which
a user-level program cannot readily determine and probably cannot (at
all) portably determine.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse at larry.mcrcim.mcgill.edu



More information about the Comp.unix.programmer mailing list