comp.lang.ada
 help / color / mirror / Atom feed
From: 402450@cepsz.unizar.es (Jano)
Subject: Re: [OT] Two sockets questions
Date: 10 May 2003 07:06:35 -0700
Date: 2003-05-10T14:06:36+00:00	[thread overview]
Message-ID: <5d6fdb61.0305100606.1a36d426@posting.google.com> (raw)
In-Reply-To: 87wuh1g5wy.fsf@inf.enst.fr

Samuel Tardieu <sam@rfc1149.net> wrote in message news:<87wuh1g5wy.fsf@inf.enst.fr>...
 
> On what OS? The correct return code is undoubtly EINPROGRESS, but it
> is possible that EINPROGRESS is equal to EWOULDBLOCK on some
> platforms.

This has been found to be what's happening. Michael Bode has pointed
in the Gnat list the article where Microsoft explains that Windows
will return EWOULDBLOCK in an asynchronous connect. The connect is in
effect being performed and Gnat is simply reporting the underlying
Windows error.

Case solved. Many thanks to all who have apported valuable knowledge
and interest.

Jano.

P.s: The article is (beware of line split)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/connect_2.asp



  parent reply	other threads:[~2003-05-10 14:06 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 18:03 [OT] Two sockets questions Jano
2003-05-07 18:22 ` Samuel Tardieu
2003-05-07 19:52   ` Stephen Leake
2003-05-07 20:08     ` David C. Hoos
2003-05-07 22:33     ` Jano
2003-05-08  9:10       ` Samuel Tardieu
2003-05-08 21:35         ` Jano
2003-05-09  8:14           ` Samuel Tardieu
2003-05-09 14:32             ` Jano
2003-05-10 14:06         ` Jano [this message]
2003-05-10 18:01           ` tmoran
2003-05-10 21:27             ` Samuel Tardieu
2003-05-11 18:01               ` tmoran
2003-05-08 17:48       ` Stephen Leake
2003-05-08 18:42         ` Samuel Tardieu
2003-05-08 21:41           ` Jano
2003-05-08 21:48           ` Jano
2003-05-08 22:35             ` tmoran
2003-05-09 14:42               ` Jano
2003-05-10  8:57                 ` Tarjei T. Jensen
2003-05-10 16:55                   ` Simon Wright
2003-05-11 18:23                   ` Tarjei T. Jensen
2003-05-11  2:05                 ` tmoran
2003-05-08 21:40         ` Jano
2003-05-07 20:02   ` Jano
2003-05-08  8:57     ` Samuel Tardieu
2003-05-08 21:39       ` Jano
2003-05-08 10:14   ` Preben Randhol
2003-05-08 11:09     ` Samuel Tardieu
2003-05-08 21:40       ` Jano
2003-05-09  8:19         ` Samuel Tardieu
2003-05-08 18:06     ` tmoran
2003-05-07 20:09 ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox