non-blocking accept on sockets

Jean DERATULD p4055 ratuld at litp.UUCP
Tue Jul 26 23:55:36 AEST 1988


I would like to use sockets for communication between workstations.
A server process checks if there is a connection request from a client
with the "accept" function. The documentation on sockets says that there
is some flag to have a blocking or non-blocking "accept" on sockets
(the doc says about a SS_NBIO flag). The default is blocking sockets.
Nothing is said about how to set it locally,
the setsockopt function does not to seem to set it.
Is there a way to set non-blocking sockets?
Thanks for any info!
					Jean DeRatuld
USENET: litp!ratuld at inria.inria.fr.uucp



More information about the Comp.unix.questions mailing list