X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 29 Jul 2008 10:51:01 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Multithreaded accept/connect hang (WSAEINPROGRESS) Message-ID: <20080729085101.GA29930@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00458A287E7A8D44941CBE06478DE90703E391BE AT ALPMLVEM15 DOT e2k DOT ad DOT ge DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00458A287E7A8D44941CBE06478DE90703E391BE@ALPMLVEM15.e2k.ad.ge.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jul 28 14:49, Labarre, Jean (GE Healthcare) wrote: > could somebody give me some details on how to "implement accept in > non-blocking mode manually in application", as Corinna suggested in > the aforementionned post? I meant just normal non-blocking operation. socket(); bind(); fcntl(F_SETFL, O_NONBLOCK); // or ioctl(FIONBIO) listen(); while select() && ready for read accept (); Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/