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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no 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 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Why no socket package in the standard ? Date: Wed, 1 Jun 2011 21:41:43 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1306982506 6724 69.95.181.76 (2 Jun 2011 02:41:46 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 2 Jun 2011 02:41:46 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-RFC2646: Format=Flowed; Response Xref: g2news2.google.com comp.lang.ada:20578 Date: 2011-06-01T21:41:43-05:00 List-Id: "Yannick Duch�ne (Hibou57)" wrote in message news:op.vvyoslycule2fv@douda-yannick... >Hello one again, > >According to http://www.ibm.com/developerworks/linux/library/l-sockpit/ >> First introduced into the 4.2 BSD UNIX� operating system, >> the Sockets API is now a standard feature of any operating system.In >> fact, it's hard to find a modern language that doesn'tsupport the >> Sockets API. > >This may help Ada (and be useful too) to add sockets in standard packages. We had a project for this in Ada 2005, but no one stepped forward to do the extensive work needed. After the effort to create the wording for Ada.Directories, I wasn't about to volunteer to create any more packages... Defining a package spec is easy enough (many have done that), but describing what it does in a target-independent way is a much bigger job. Note that there is no ISO standard (so far as I'm aware) that describes BSD Sockets, so we'd have to recreate at least some description of those in the Ada Standard. Languages without formal standards (or formal standards for their libraries) don't have this problem -- the libraries do whatever they do, and often that is good enough. And that's fine for Ada too, so long as you don't expect the Standard to include such things... [Note that Ada also doesn't include a standard GUI, a standard program run ("exec"), or many other things that are widely used. We tried to do "exec" and couldn't come up with a consistent definition of what it does -- and then gave up.] Randy.