From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Question about Streams and UDP sockets using GNAT.Sockets
Date: Tue, 18 Jul 2006 19:07:24 GMT
Date: 2006-07-18T19:07:24+00:00 [thread overview]
Message-ID: <Ljavg.41683$FQ1.21415@attbi_s71> (raw)
In-Reply-To: <1fpj192j49rf4$.ma23qkoukku3.dlg@40tude.net>
Dmitry A. Kazakov wrote:
>
> Don't use String'Write. GNAT implementation treats strings as array so
> characters don't coalesce. It is unexpected, but legal. You might wish to
> define your own type of the packet and implement a suitable write (and
> read) for it.
Since the language defines String as an array type, it would be strange
to expect anything else.
--
Jeff Carter
"I'm a lumberjack and I'm OK."
Monty Python's Flying Circus
54
next prev parent reply other threads:[~2006-07-18 19:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-18 9:41 Question about Streams and UDP sockets using GNAT.Sockets lekktu
2006-07-18 9:55 ` Dmitry A. Kazakov
2006-07-18 10:25 ` Alex R. Mosteo
2006-07-18 11:02 ` lekktu
2006-07-18 14:25 ` Alex R. Mosteo
2006-07-18 14:58 ` lekktu
2006-07-18 20:52 ` Samuel Tardieu
2006-07-18 20:58 ` Randy Brukardt
2006-07-19 10:36 ` Alex R. Mosteo
2006-07-19 18:50 ` Simon Wright
2006-07-18 19:07 ` Jeffrey R. Carter [this message]
2006-07-18 20:13 ` Dmitry A. Kazakov
2006-07-19 0:32 ` Jeffrey R. Carter
2006-07-19 8:12 ` Dmitry A. Kazakov
2006-07-19 18:59 ` Simon Wright
2006-07-19 20:54 ` lekktu
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox