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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,eb00b9b968ac2b79 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.66.89.196 with SMTP id bq4mr460882pab.26.1346265406268; Wed, 29 Aug 2012 11:36:46 -0700 (PDT) Received: by 10.224.186.143 with SMTP id cs15mr1799994qab.3.1346265406107; Wed, 29 Aug 2012 11:36:46 -0700 (PDT) Received: by 10.52.72.16 with SMTP id z16mr457732vdu.15.1346265406085; Wed, 29 Aug 2012 11:36:46 -0700 (PDT) Path: a5ni24113pbv.0!nntp.google.com!news1.google.com!r1no3468154qas.0!news-out.google.com!da15ni59655611qab.0!nntp.google.com!r1no3468150qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 29 Aug 2012 11:36:45 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: <296db66c-9246-4801-b293-c116e5c21f6b@googlegroups.com> <2ef339a5-2e40-49e9-b5dc-4bb018b93bda@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <25c0792f-6258-4902-9a7d-e45db9e6ca50@googlegroups.com> Subject: Re: Ada networking (Adagio) From: Shark8 Injection-Date: Wed, 29 Aug 2012 18:36:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-29T11:36:45-07:00 List-Id: On Wednesday, August 29, 2012 5:08:08 AM UTC-6, =C1lex R. Mosteo wrote: > =C1lex R. Mosteo wrote: >=20 >=20 > Project file is adagio.gpr. There are others for related projects that ne= ver=20 > got anywhere, so I'm leaving these for later. Alright, I'll grab a copy.=20 >=20 > It doesn't compile yet, although I've started fixing things around. I'm= =20 > pretty sure I've broken something in the process. Truth is, it relied too= =20 > much on Gnat sockets internals that have changed. It was somewhat=20 > nightmarish getting consistent results in Windows and Linux, I remember n= ow.=20 Not surprising. I'm not sure if sockets are the best way to handle networki= ng in-general -- though they certainly are the most popular. >=20 > I'm also having problems with Pragmarc components that return limited typ= es.=20 > I think this is one of the few inconsistencies between Ada95 and 2005. I'= m=20 > making these things non-limited, but I'm not sure what are the=20 > implications... Ah, something to note. I was playing around with the Ada 2012 / 2005 functi= onality in a testing project and found that GNAT (Adacore's free one) allow= ed my to specify different Ada-versions for spec and body. eg: Pragma Ada_2005; Package Testing is [...] end Testing; ------ Pragma Ada_2012; Package Body Testing is [...] end Testing; or vice-versa.