comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcNOSPAM@mckae.com>
Subject: Re: Using GNAT.Sockets
Date: Mon, 18 Apr 2005 08:51:32 -0500
Date: 2005-04-18T08:51:32-05:00	[thread overview]
Message-ID: <acede$4263bb65$499568e$15179@ALLTEL.NET> (raw)
In-Reply-To: <1113814867.251847.285880@o13g2000cwo.googlegroups.com>

markp wrote:

> Thanks for your reply. It does what I want it to do. I have one other
> question. My assumption is that I have to read the data into My_buffer,
> which is of a type Stream_Elemet_Array. If there a way to read the data
> directly into an Ada record type, as opposed to a Stream_Element_Array?
> Otherwise, I will have to read the socket and then copy the bytes into
> the record type and act on it there. Is there a way to avoid this extra
> copy and go directly to my data type?

Take a look at "A Socket-Based Manifestion of Streams" at 
http://www.sigada.org/ada_letters/june2001/socket_streams.pdf

Marc A. Criley



  parent reply	other threads:[~2005-04-18 13:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 15:07 Using GNAT.Sockets markwork66
2005-04-13 15:43 ` Duncan Sands
2005-04-15  9:04   ` markp
2005-04-15  9:25     ` Duncan Sands
2005-04-18  9:01       ` markp
2005-04-18 13:23         ` Michael Paus
2005-04-18 14:32           ` markp
2005-04-18 15:14             ` Adrien Plisson
2005-04-18 15:35               ` markp
2005-04-18 15:48                 ` Adrien Plisson
2005-04-18 17:06                   ` markp
2005-04-18 18:23                     ` markp
2005-04-18 20:45                     ` Eric Jacoboni
2005-04-18 21:30                       ` Pascal Obry
2005-04-18 23:00                         ` Eric Jacoboni
2005-04-19  7:04                           ` Pascal Obry
2005-04-19 17:36                           ` Björn Lundin
2005-04-19 19:08                             ` Eric Jacoboni
2005-04-18 13:51         ` Marc A. Criley [this message]
2005-04-14 14:45 ` Bob Spooner
2005-04-15  9:06   ` markp
2005-04-15 11:47     ` Michael Paus
2005-04-15 14:07       ` Bob Spooner
2005-04-17 15:35         ` Michael Paus
replies disabled

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