comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: (Linux) GNAT socket exception - when setting No_Delay
Date: Fri, 14 Apr 2006 11:22:40 +0200
Date: 2006-04-14T11:22:40+02:00	[thread overview]
Message-ID: <1f1uw078vwhv6$.1h62nvgtq2nty$.dlg@40tude.net> (raw)
In-Reply-To: 1144964069.054981.163230@g10g2000cwb.googlegroups.com

On 13 Apr 2006 14:34:29 -0700, AAFellow@hotmail.com wrote:

> 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 would say that it can't be related to Ada. Check if you are using
setsockopt properly. Maybe the buffer pointer or size is wrong. BOOL might
have different sizes under Windows and Linux, something like that.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



      parent reply	other threads:[~2006-04-14  9:22 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
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 [this message]
replies disabled

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