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,80ae596d36288e8a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Why no socket package in the standard ? Date: Sun, 05 Jun 2011 16:51:36 +0200 Message-ID: <87pqms8h6v.fsf@mid.deneb.enyo.de> References: <87k4d4z6b6.fsf@mid.deneb.enyo.de> <87pqmsa65o.fsf@mid.deneb.enyo.de> <1hx6ys2t3o3f8.18zbene4l81d5$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ruchba.enyo.de 1307285496 18724 172.17.135.6 (5 Jun 2011 14:51:36 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:8bA9imKgQJn18hH7aXyZPnoxCfI= Xref: g2news2.google.com comp.lang.ada:20592 Date: 2011-06-05T16:51:36+02:00 List-Id: * Dmitry A. Kazakov: > On Sun, 05 Jun 2011 13:06:59 +0200, Florian Weimer wrote: > >> * Randy Brukardt: >> >>> But one wonders about the wisdom of requiring a particular OS >>> interface for Ada -- Ada is supposed to be target-independent. >>> Perhaps it would be OK to reference a small piece of it. >> >> For all its faults, there is no alternative to BSD sockets. > > So what? Ada's interface to TCP/IP stack and other network stacks need not > to be thin. On the contrary it should be as abstract as possible in order > to remain independent on any OS-specific mess. Sorry, I have no idea what you're talking about. What would an API look like that is more abstract than BSD sockets? Would it parametrize aspects such as congestion control and packet fragmentation?