Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 1996 15:43:19 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        kbracey@art.acorn.co.uk (Kevin Bracey)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Problem with non-blocking TCP connects? 
Message-ID:  <96May22.154322pdt.177475@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Thu, 16 May 1996 03:02:50 PDT." <319B0B5A@kbracey> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <319B0B5A@kbracey> you write:
>There is an interesting anomaly in the processing of non-blocking TCP
>connections.

I'm not convinced that calling connect() again is the right thing to do to see 
if it has completed.  I tend to select() for writing (as implied by the 
connect(2) man page), and then use getsockopt(SO_ERROR) when the select comes 
true.

  Bill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96May22.154322pdt.177475>