From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: Byte order writing to socket stream
Date: Fri, 17 May 2002 11:10:43 -0500
Date: 2002-05-17T11:10:43-05:00 [thread overview]
Message-ID: <mailman.1021651864.19914.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: ac36va$m6qca$1@ID-107015.news.dfncis.de
----- Original Message -----
From: "The Darkelf" <darkelf@aim.homelinux.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Friday, May 17, 2002 10:18 AM
Subject: Byte order writing to socket stream
<snip>
> If so, any suggestion for checking the architecture byte order and
> ouputing it in some standard way?
>
I would use the package body of System.Stream_Attributes that
comes with glade (the Annex E implementation of GNAT)
(file name is s-stratt.adb) which modifies the stream attributes of
the numeric types to use the XDR network format.
You can compile this into your GNAT runtime and rebuild it.
next prev parent reply other threads:[~2002-05-17 16:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-17 15:18 Byte order writing to socket stream The Darkelf
2002-05-17 15:54 ` Robert L. Klungle
2002-05-17 16:10 ` David C. Hoos [this message]
2002-05-17 21:11 ` Ted Dennison
2002-05-18 6:47 ` Simon Wright
2002-05-18 8:09 ` David C. Hoos, Sr.
2002-05-18 17:09 ` Simon Wright
2002-05-18 8:11 ` Dr. Michael Paus
2002-05-18 20:30 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox