[TUHS] Unix APIs: elegant or not?
dave at horsfall.org
Thu Nov 1 07:31:25 AEST 2018
On Wed, 31 Oct 2018, Paul Winalski wrote:
> I've always thought that the UNIX file primitives very elegantly adhere
> to this principle. [...]
Until Berkeley introduced sockets, which has the worst API that I've ever
seen in Unix-land...
Last place I worked, they had a library that simplified it; the
application said "I am a server on port NNN" and the client said "I want
to talk to port NNN on 18.104.22.168" etc.
I wish I'd "borrowed" that code when I left.
More information about the TUHS