comp.lang.ada
 help / color / mirror / Atom feed
From: Adrien Plisson <aplisson-news@stochastique.net>
Subject: Re: TCP/IP Sockets with GNAT.Sockets
Date: Tue, 03 May 2005 14:22:42 +0200
Date: 2005-05-03T14:22:42+02:00	[thread overview]
Message-ID: <42776cfb$0$24159$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <1115121845.628611.115440@g14g2000cwa.googlegroups.com>

fabio de francesco wrote:
> I only objected to that statement: "... however If the other end of the
> socket is a C-style server it will probely demand somthing like the
> following:..."

sorry, i misunderstood your statement...

> I supposed that Ada and C aren't different in that. I mean that, when a
> C program is to read/write a lot of data from/to a disk file or any
> other device, it is preferred to read/write large chunks of bytes
> altogether:

you are right, it is faster. but there are some cases where you can't 
read chunks, especially when you don't know the size of the data you 
have to read and you can't read too much data.

> What does make you think that? If you refer to my posted code, it was
> only a test to get acquainted to GNAT.Sockets.

i hope so ! but i've already seen people doing this...

-- 
rien



  reply	other threads:[~2005-05-03 12:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02  2:42 TCP/IP Sockets with GNAT.Sockets fabio de francesco
2005-05-02  5:58 ` Eric Jacoboni
2005-05-02 12:11 ` Adrien Plisson
2005-05-02 14:55   ` fabio de francesco
2005-05-02 16:10     ` Adrien Plisson
2005-05-02 17:56       ` Eric Jacoboni
2005-05-02 18:30         ` Poul-Erik Andreasen
2005-05-02 19:10           ` Simon Wright
2005-05-03 13:00             ` Poul-Erik Andreasen
2005-05-03 21:48               ` Simon Wright
2005-05-04  8:01               ` Character'First, ASCII.NUL and others (Was: Re: TCP/IP Sockets with GNAT.Sockets) Adrien Plisson
2005-05-04 13:40                 ` Poul-Erik Andreasen
2005-05-02 20:37           ` TCP/IP Sockets with GNAT.Sockets fabio de francesco
2005-05-02 20:52             ` Adrien Plisson
2005-05-03 12:04               ` fabio de francesco
2005-05-03 12:22                 ` Adrien Plisson [this message]
2005-05-03 13:17             ` Poul-Erik Andreasen
2005-05-02 20:44         ` Adrien Plisson
2005-05-02 22:10           ` Eric Jacoboni
2005-05-02 23:42             ` tmoran
2005-05-02 19:39     ` Björn
2005-05-02 20:22       ` fabio de francesco
2005-05-09  4:03         ` Dave Thompson
replies disabled

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