comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcqada95@earthlink.net>
Subject: Re: Adasockets storage problem
Date: Sat, 16 Feb 2002 13:53:52 GMT
Date: 2002-02-16T13:53:52+00:00	[thread overview]
Message-ID: <3C6E576F.A398E35@earthlink.net> (raw)
In-Reply-To: a4l9f0$109v0$1@ID-107015.news.dfncis.de

Nazgul wrote:
> 
> Hi,
> 
> I'm using the Adasockets library to have network funcionallity in a program.
> The problem is, it works fine if the server and the client are both running
> in the same architecture, for example i386, but when the server runs in a
> HP-UX and the client in i386, the client raises and STORAGE_ERROR when
> receiving a string.
> 
> I suppose it's something about little endian/big endian and using htons(),
> htonl(),... like in C, but I don't know how to fix it.

I take it you're using GNAT on both machines.

What does your code look like that you're using to write the string to
the socket?  And to read it off the socket?

Marc A. Criley
Consultant
Quadrus Corporation
www.quadruscorp.com



  reply	other threads:[~2002-02-16 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-16  9:40 Adasockets storage problem Nazgul
2002-02-16 13:53 ` Marc A. Criley [this message]
2002-02-17  7:09 ` Simon Wright
2002-02-18  1:37 ` Stephen Leake
replies disabled

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