comp.lang.ada
 help / color / mirror / Atom feed
From: Warner BRUNS <Warner.Bruns@cern.ch>
Subject: Re: Sockets
Date: Wed, 15 Nov 2006 12:59:50 +0100
Date: 2006-11-15T12:59:50+01:00	[thread overview]
Message-ID: <ejevfm$fjf$1@cernne03.cern.ch> (raw)
In-Reply-To: <ejemue$b5k$1@cernne03.cern.ch>

Maciej Sobczak wrote:
> Hi,
> 
> 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).
> 
> 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).
> 
> 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.
> 
> Is the above correct? What would you recommend?
> 
> BTW - Unix sockets are of interest as well.
> 

I once tried to use POSIX functionality via Florist, but could not,
as (at least then, a year ago), Florist wants to be compiled by gnat.
So using Florist does not give you more portability than using
the gnat runtime.

Warner



  parent reply	other threads:[~2006-11-15 11:59 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 ` Warner BRUNS [this message]
2006-11-15 23:13 ` Sockets Simon Wright
  -- 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