Re: [boost] Re: Network library: What we have until now

On Thu, 2005-04-14 at 11:29 +0400, Maxim Yegorushkin wrote:
On Tue, 12 Apr 2005 21:39:24 -0700 (PDT), Don G <dongryphon@yahoo.com> wrote:
Was not Mac OS Classic been buried long ago? People on this thread are still discussing Win95 :-(.
IMO, sockets are abstractions out of the scope of any language. Their interfaces can be implemented using any general purpose programming language, but still you'll have to call an underlying OS C API. That's a fact of life and I don't think this is bad - C is the most portable programming language ever.
Here is my two philosophy cents.
You propose another set of concepts over socket concepts just to send/receive a bunch of mere bytes. Geez, another glue layer over sockets that adds nothing but syntax sugar. Aren't we already tired of software bloated from glue layers over glue layers over...? You don't just send bytes, rather you execute protocols. Sockets have the right implementation level and complexity to build *efficient* protocols upon. I agree with you. I think the well defined concepts developed from BSD sockets and well known by many programmers is what we need for a layer 1 sockets lib. And I've always liked the idea of being able to specify
Yes. But, that is not necessarily the 'C' socket lib :-). An optimal ( but not very portable ) implementation would replace the 'C' socket lib. protocols as a Spirit grammar.
Protocol is the only glue layer you really always need, the layer that binds your application logic with network transport layer (sockets) providing the [snip] ^^^^^^^^
and Network and Data Link Layers. /ikh

On Thu, 14 Apr 2005 13:07:42 +0100, Iain Hanson <Iain.Hanson@videonetworks.com> wrote: []
You propose another set of concepts over socket concepts just to send/receive a bunch of mere bytes. Geez, another glue layer over sockets that adds nothing but syntax sugar. Aren't we already tired of software bloated from glue layers over glue layers over...? You don't just send bytes, rather you execute protocols. Sockets have the right implementation level and complexity to build *efficient* protocols upon.
I agree with you. I think the well defined concepts developed from BSD sockets and well known by many programmers is what we need for a layer 1 sockets lib.
Yes, we already have the concepts, enough please.
And I've always liked the idea of being able to specify protocols as a Spirit grammar.
Probably you mean Protocol Data Units (PDU) - the messages a protocol communicates with? It would be unwieldy to you specify and execute timouts using spirit grammar, I guess :)
Protocol is the only glue layer you really always need, the layer that binds your application logic with network transport layer (sockets) providing the [snip] ^^^^^^^^
and Network and Data Link Layers.
May be. Most of my needs don't go deeper TCP / UDP / Unix local sockets. -- Maxim Yegorushkin
participants (2)
-
Iain Hanson
-
Maxim Yegorushkin