comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Introducing memcache-ada, a memcached client in Ada
Date: Tue, 21 Dec 2010 08:52:07 +0100
Date: 2010-12-21T08:52:08+01:00	[thread overview]
Message-ID: <gertqyszko0f.vubtvw167117.dlg@40tude.net> (raw)
In-Reply-To: ieotvi$f62$1@munin.nbi.dk

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



  reply	other threads:[~2010-12-21  7:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  0:43 Introducing memcache-ada, a memcached client in Ada R Tyler Croy
2010-12-20  8:25 ` Thomas Løcke
2010-12-20 10:16   ` Georg Bauhaus
2010-12-20  9:36     ` Thomas Løcke
2010-12-20 20:14     ` R Tyler Croy
2010-12-21  0:56     ` Randy Brukardt
2010-12-21  7:52       ` Dmitry A. Kazakov [this message]
2010-12-20 19:36   ` Jeffrey Carter
2010-12-20 20:16     ` R Tyler Croy
2010-12-20 22:03     ` Simon Wright
2010-12-20 22:48       ` R Tyler Croy
2010-12-20 23:44         ` Simon Wright
2010-12-21 11:10           ` Georg Bauhaus
2010-12-21 11:21             ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox