From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6c265459ff33db7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-29 14:27:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Gnat.Sockets and non-blocking connects Date: Sun, 29 Jun 2003 23:27:24 +0200 Message-ID: <87r85cfubn.fsf@deneb.enyo.de> References: <87he69j8zo.fsf@deneb.enyo.de> <87fzltnf33.fsf@inf.enst.fr> <87r85dhs90.fsf@deneb.enyo.de> <874r28ham2.fsf@deneb.enyo.de> <87ptkwmvtd.fsf@inf.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1056922044 22996 212.9.189.171 (29 Jun 2003 21:27:24 GMT) X-Complaints-To: Cancel-Lock: sha1:yzCZ+ZKnem+W8YWPXpWs762S/4s= Xref: archiver1.google.com comp.lang.ada:39909 Date: 2003-06-29T23:27:24+02:00 List-Id: Samuel Tardieu writes: >>>>>> "Florian" == Florian Weimer writes: > > Florian> Even on Windows, you can use getsockopt(2) and SO_ERROR. No > Florian> need to jump through hoops. 8-) > > Even on Windows, you do not need to use SO_ERROR :) Just test > connect() return code. It's EINPROGRESS. Pretty informative, isn't it? BTW, "Cc: sam@rfc1149.net" deliberately bounces. You might want to fix your mail/news setup.