comp.lang.ada
 help / color / mirror / Atom feed
From: "REH" <me@you.com>
Subject: Re: Advice on abort
Date: Sun, 06 Nov 2005 20:41:17 GMT
Date: 2005-11-06T20:41:17+00:00	[thread overview]
Message-ID: <NTtbf.137546$7b6.98490@twister.nyroc.rr.com> (raw)
In-Reply-To: m27jbla69k.fsf@grendel.local


"Simon Wright" <simon@pushface.org> wrote in message 
news:m27jbla69k.fsf@grendel.local...
> "REH" <me@you.com> writes:
>
>> "Simon Wright" <simon@pushface.org> wrote in message
>> news:m2br0y9g9w.fsf@grendel.local...
>>> "REH" <me@you.com> writes:
>>>
>>>> That's fine.  We are VxWorks too.  Besides, a return of 0 on a read
>>>> is not considered "successful" with sockets.  It means the socket
>>>> has been closed.  You got an exception on the next read, because you
>>>> were trying to read from a closed socket.
>>>
>>> Yes -- but the bug didn't show on Windows because of the different OS
>>> behaviour.
>>
>> I don't understand.  What bug?  A return of 0 is not a bug.  I don't 
>> think
>> you've encountered different OS behavior.  winsock will also return 0 
>> from
>> read when a socket closes.  If I understand you correctly, you've
>> encountered a particular behavior with GNAT on Windows, not Windows 
>> itself.
>> Or I may have completely misunderstood what you were saying.
>
> The bug in our software where we didn't check the length returned.
>
Ah, I see.  I did misunderstand you.  Sorry.






  reply	other threads:[~2005-11-06 20:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 15:25 Advice on abort REH
2005-11-04 17:15 ` Marc A. Criley
2005-11-04 18:21 ` Dmitry A. Kazakov
2005-11-04 18:35   ` REH
2005-11-05 18:33   ` Simon Wright
2005-11-05 21:23     ` REH
2005-11-06 11:17       ` Simon Wright
2005-11-06 13:58         ` REH
2005-11-06 20:08           ` Simon Wright
2005-11-06 20:41             ` REH [this message]
2005-11-07 14:55 ` Poul-Erik Andreasen
2005-11-07 17:09   ` REH
2005-11-07 18:03     ` Dmitry A. Kazakov
2005-11-08 14:54       ` Poul-Erik Andreasen
2005-11-08 16:14         ` Dmitry A. Kazakov
2005-11-08 16:42           ` Marc A. Criley
2005-11-08 16:59           ` Poul-Erik Andreasen
2005-11-08 20:05             ` Dmitry A. Kazakov
2005-11-09 14:12               ` Poul-Erik Andreasen
2005-11-09 17:14                 ` Dmitry A. Kazakov
2005-11-08 16:32         ` Marc A. Criley
2005-11-08 14:35     ` Poul-Erik Andreasen
replies disabled

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