From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,514fcf85c99c5ed7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.net!prodigy.net!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.socal.rr.com.POSTED!53ab2750!not-for-mail From: "Roger Blum" Newsgroups: comp.lang.ada References: Subject: Re: Sockets X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response Message-ID: <5yB6h.17632$si3.8344@tornado.socal.rr.com> Date: Wed, 15 Nov 2006 09:59:29 GMT NNTP-Posting-Host: 66.91.22.187 X-Complaints-To: abuse@rr.com X-Trace: tornado.socal.rr.com 1163584769 66.91.22.187 (Wed, 15 Nov 2006 01:59:29 PST) NNTP-Posting-Date: Wed, 15 Nov 2006 01:59:29 PST Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news2.google.com comp.lang.ada:7468 Date: 2006-11-15T09:59:29+00:00 List-Id: I am using ada sockets: http://www.rfc1149.net/devel/adasockets.html.en Regards, Roger "Maciej Sobczak" schrieb im Newsbeitrag news:ejemue$b5k$1@cernne03.cern.ch... > 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. > > -- > Maciej Sobczak : http://www.msobczak.com/ > Programming : http://www.msobczak.com/prog/