comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: (Linux) GNAT socket exception - when setting No_Delay
Date: 13 Apr 2006 21:20:59 -0400
Date: 2006-04-13T21:20:59-04:00	[thread overview]
Message-ID: <wccbqv5j6kk.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1144964069.054981.163230@g10g2000cwb.googlegroups.com

"AAFellow@hotmail.com" <AAFellow@hotmail.com> writes:

> Hi Guys,
> 
> I'm porting some Ada code from Windows to Linux and I'm getting an
> exception that's caused by the code that tries to set the "No_Delay"
> option.  This worked fine on windows...is there any reason it doesn't
> seem to work on Linux?
> 
> I'm trying to research this myself now, but any info or anything you
> can do to point me in the right direction would really be appreciated.
> Thanks!!

I don't know about this particular case, but I have noticed different
behavior of sockets between windows and linux.  Especially in
error-condition cases.  I don't think that's the fault of the Ada
sockets implementation -- I think the underlying operating systems
just do subtly different things.  I was able to write portable code,
but only by experimenting with both operating systems.  Reading
documentation didn't always help, here (sigh!).

- Bob



  reply	other threads:[~2006-04-14  1:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 21:34 (Linux) GNAT socket exception - when setting No_Delay AAFellow
2006-04-14  1:20 ` Robert A Duff [this message]
2006-04-17 12:14   ` Alex R. Mosteo
2006-04-17 14:50     ` AAFellow
2006-04-19 16:41       ` Jeffrey R. Carter
2006-04-19 19:56       ` AAFellow
2006-04-19 20:15         ` Alex R. Mosteo
2006-04-19 23:00           ` Jeffrey Creem
2006-04-20  6:44             ` Alex R. Mosteo
2006-04-20 19:32               ` AAFellow
2006-04-20  2:41         ` Gene
2006-04-14  9:22 ` Dmitry A. Kazakov
replies disabled

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