[TUHS] Sockets vs Streams (was Re: forgotten versions

Bakul Shah bakul at iitbombay.org
Sat Jun 18 02:23:57 AEST 2022


On Jun 16, 2022, at 4:44 PM, George Michaelson <ggm at algebras.org> wrote:
> 
> Sockets (which btw, totally SUCK PUS) were coded into things
> and even (YECHH) made POSIX and IETF spec status. Streams didn't stand
> a chance.

The stream abstraction is a nice (c)lean abstraction but it doesn't
quite work for things like multicast or datagrams in general. Plan9
doesn't have sockets but the way it deals with UDP is not simple either.
The complexity is in the protocols themselves. Even at layer 2 (below
the IP layer) the amount of complexity is mind boggling (though I
suppose high-speed backbone switches do all this in hardware!).


More information about the TUHS mailing list