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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC 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 Received: by 10.180.105.2 with SMTP id gi2mr1096944wib.4.1344841862274; Mon, 13 Aug 2012 00:11:02 -0700 (PDT) Path: q11ni105416925wiw.1!nntp.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Networking (General/Design) Date: Mon, 13 Aug 2012 09:11:07 +0200 Organization: cbb software GmbH Message-ID: References: <08540a65-8d88-4042-b021-52c49b2e6772@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2012-08-13T09:11:07+02:00 List-Id: On Sun, 12 Aug 2012 13:26:23 -0700 (PDT), Shark8 wrote: > In a related, though only tangential, vein to my other Ada-networking > thread, I thought it would be good to ask what [you find] the best way to > handle network-communication is. Depends on the protocol, load and QoS requirements. E.g. in one case we must handle 200K+ connections, in another 80�s is the response time limit. > Is it using Streams? Rarely. Most network protocols are packet-oriented. > Wrapping up IP-ports and packets in their own > interface-packages and using those? Certainly. There will be many packages reflecting at least the protocol layers, encapsulating OS-dependent stuff etc. > Something I'm not even thinking of? > (In short, I'm curious as to how other Ada programmers approach it.) See above, it depends. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de