Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!cory.Berkeley.EDU!schung From: schung@cory.Berkeley.EDU (Stephen the Greatest) Newsgroups: comp.unix.wizards Subject: Re: Non-blocking accept(2) calls Message-ID: <3587@zen.berkeley.edu> Date: Fri, 4-Sep-87 11:57:03 EDT Article-I.D.: zen.3587 Posted: Fri Sep 4 11:57:03 1987 Date-Received: Sat, 5-Sep-87 18:27:12 EDT References: <479@radio.toronto.edu> <8395@mimsy.UUCP> Sender: news@zen.berkeley.edu Reply-To: schung@cory.Berkeley.EDU.UUCP (Stephen the Greatest) Organization: University of California, Berkeley Lines: 8 Keywords: socket non-blocking BSD Strange..... The problem with me is that I want an accept(2) call to *block* which it doesn't. I want it to block itself when no connection is available and timeout after a while. I also want connect(2) to block and timeout. Does anyone know how to do that? - Stephen