comp.lang.ada
 help / color / mirror / Atom feed
From: Björn <ssh9614@hotmail.com>
Subject: Re: TCP/IP Sockets with GNAT.Sockets
Date: 2 May 2005 12:39:13 -0700
Date: 2005-05-02T12:39:13-07:00	[thread overview]
Message-ID: <1115062753.107263.233720@z14g2000cwz.googlegroups.com> (raw)
In-Reply-To: 1115045740.838321.306480@g14g2000cwa.googlegroups.com

> If you read g-socket.ads you won't find any usage example either of
the
> above mentioned functions or related parameters.

I agree that the documentation of g-sockets could have been a bit more
verbose.
Having just completed a program that uses a lot of stuff from g-sockets
I learned two things the hard way:
* Using g-socket streams to send records does not guarantee that the
whole record will be sent in one TCP frame.
* UDP/Broadcast does not work well with g-sockets streams.

If you are planning to do any serious work with sockets I would
recommend to go with Send/Receive instead.

Best regards
Björn




  parent reply	other threads:[~2005-05-02 19:39 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
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 [this message]
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