comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Sockets
Date: Wed, 15 Nov 2006 23:13:55 +0000
Date: 2006-11-15T23:13:55+00:00	[thread overview]
Message-ID: <m2slgkb8wc.fsf@grendel.local> (raw)
In-Reply-To: ejemue$b5k$1@cernne03.cern.ch

Maciej Sobczak <no.spam@no.spam.com> writes:

> Let's say that I would like to write an Ada program that uses sockets
> and compile and run it on my Linux box.
>
> There three ways to do this that I'm aware of:
>
> 1. Use GNAT runtime library. The advantage is that it will be
> portable to other platforms (as long as GNAT and its library is
> portable there).

This is the one I would go for. Linux/Windows/Mac OS X/Solaris/[Alpha
UNIX]/VxWorks ...

> 2. Use C interfacing and call the system functions directly. The
> advantage is that it will be portable to other compilers on the same
> platform (no dependency on GNAT run-time libs).

Which other Ada compilers were you thinking of using on Linux? and
anyway interfacing to other languages might be one of the less
portable aspects.

> 3. Use Florist. The disadvantage is that I'm too lazy to install it
> (it's another package) and I don't want to impose this requirement
> on other lazy users of the same code.

No experience. But we would have had much trouble justifying an
external package without vendor support if the vendor package was
'good enough' (and GNAT.Sockets is certainly that, even if not
feature-free).



  parent reply	other threads:[~2006-11-15 23:13 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  9:34 Sockets Maciej Sobczak
2006-11-15  9:59 ` Sockets Roger Blum
2006-11-15 10:43   ` Sockets Maciej Sobczak
2006-11-16 16:28     ` Sockets Chad  R. Meiners
2006-11-17  2:11     ` Sockets Marc A. Criley
2006-11-15 11:59 ` Sockets Warner BRUNS
2006-11-15 23:13 ` Simon Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-22  8:00 Sockets ProLogic
2002-05-22  8:53 ` Sockets Jean-Claude MAHIEUX
2002-05-22 10:55 ` Sockets David C. Hoos, Sr.
2002-05-22 11:59   ` Sockets ProLogic
2002-05-22 12:34     ` Sockets Preben Randhol
2002-05-22 18:49     ` Sockets Simon Wright
2002-05-22 17:27 ` Sockets tmoran
2002-05-22 18:39 ` Sockets Randy Brukardt
2002-05-22 19:11   ` Sockets Preben Randhol
2002-05-22 19:18     ` Sockets Preben Randhol
2002-05-22 21:26       ` Sockets David C. Hoos
2002-05-22 19:52     ` Sockets Marin David Condic
2002-05-27 11:16       ` Sockets chris.danx
2002-05-28 16:42         ` Sockets Marin David Condic
2002-05-23  2:33   ` Sockets Robert Dewar
2002-05-23 20:49     ` Sockets Randy Brukardt
2002-05-23  2:34   ` Sockets Robert Dewar
2002-05-23  5:07     ` Sockets tmoran
2002-05-24  3:02     ` Sockets Steve Doiel
2002-05-24 13:58       ` Sockets Marin David Condic
2002-05-25  7:21         ` Sockets Preben Randhol
2002-05-25  8:03           ` Sockets Simon Wright
2002-05-25  8:23             ` Sockets Preben Randhol
2002-05-25 15:58               ` Sockets Robert Dewar
2002-05-29  1:25             ` Sockets Robert Dewar
2002-05-29  5:26               ` Sockets Simon Wright
2002-05-29  1:28             ` Sockets Robert Dewar
2002-05-28 16:50           ` Sockets Marin David Condic
1996-03-25  0:00 Sockets Simon Johnston
1996-03-21  0:00 Sockets Timothy Miller
replies disabled

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