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,bdcca6db8294fb00 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!2a02:590:1:1::196.MISMATCH!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Introducing memcache-ada, a memcached client in Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4d0f1316$0$23759$14726298@news.sunsite.dk> <4d0f1ed7$0$6990$9b4e6d93@newsspool4.arcor-online.net> Date: Tue, 21 Dec 2010 08:52:07 +0100 Message-ID: NNTP-Posting-Date: 21 Dec 2010 08:52:08 CET NNTP-Posting-Host: 007fea27.newsspool1.arcor-online.net X-Trace: DXC=8Ca8oYTd8S1TQL:hoD@>T?ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg2^GM=LloHJF0[6LHn;2LCV>[ On Mon, 20 Dec 2010 18:56:17 -0600, Randy Brukardt wrote: > Claw.Sockets is mostly stream-oriented; it doesn't provide all of the > functionality of the raw sockets level in order to make an abstraction much > more like the file abstractions that Ada programmers are familiar with. BTW raw sockets, they don't work anymore under Windows since XP SP 3 (or 2). In order to have them working an Ada implementation would need to install an NDIS driver. > In > that sense, it is a bit higher level than the GNAT sockets and Adasockets. > That seems better to me, presuming that you don't need the low-level > functionality [not sure why you would, but I am never surprised anymore > about that sort of thing]. I don't consider raw sockets low-level, they are in OSI sense, but from the software design point of view it is just a different I/O interface. If I designed a socket library for Ada, I would separate all kind of interfaces (TCP, UDP, raw, PGM etc) into different child packages. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de