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,ff1f0403676a2300 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.136.71 with SMTP id py7mr1126898pbb.4.1344817529751; Sun, 12 Aug 2012 17:25:29 -0700 (PDT) Path: p10ni50495394pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Ada Networking (General/Design) Date: Sun, 12 Aug 2012 17:25:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2c585eb3-0f79-4e5e-b4c9-8867836c0a4a@googlegroups.com> References: <08540a65-8d88-4042-b021-52c49b2e6772@googlegroups.com> NNTP-Posting-Host: 69.20.190.126 Mime-Version: 1.0 X-Trace: posting.google.com 1344817525 24539 127.0.0.1 (13 Aug 2012 00:25:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Aug 2012 00:25:25 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-12T17:25:24-07:00 List-Id: On Sunday, August 12, 2012 6:10:22 PM UTC-6, (unknown) wrote: > On Sunday, August 12, 2012 4:26:23 PM UTC-4, Shark8 wrote: >=20 > > In a related, though only tangential, vein to my other Ada-networking t= hread, I thought it would be good to ask what [you find] the best way to ha= ndle network-communication is. >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Is it using Streams? Wrapping up IP-ports and packets in their own inte= rface-packages and using those? Something I'm not even thinking of? (In sho= rt, I'm curious as to how other Ada programmers approach it.) >=20 >=20 >=20 > Depending on its applicability to your situation, the DSA is perhaps the = most elegant solution; simply take the whole thing to the next level higher= , and avoid network programming altogether. LOL -- True; I *really* like the underlying ideas for the DSA. (That doesn'= t mean that I really understand the bits-n-pieces/nitty-gritty... but you h= ave to start somewhere.) Though there's a lot of programs (or it would be more correct to say 'netwo= rks') that aren't DSA but might be useful. Say something like SETI@Home, or= EDonkey/Gnutilla/BitTorrent --I know for certain there are Bittorrents bei= ng used to distribute people's software, probably most prominently certain = linux flavors-- and they are likely going to need some interfacing support.= .. I really don't see how it would be possible to "overlay the DSA" such th= at it enables you to treat those as part of your local system.