Path: utzoo!utgpu!attcan!uunet!mcvax!inria!crcge1!litp!ratuld From: ratuld@litp.UUCP (Jean DERATULD p4055) Newsgroups: comp.unix.questions Subject: non-blocking accept on sockets Message-ID: <354@litp.UUCP> Date: 26 Jul 88 13:55:36 GMT Reply-To: ratuld@litp.UUCP (Jean DERATULD p4055) Organization: LITP-RXF, Universite P6, PARIS Lines: 11 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@inria.inria.fr.uucp