[TUHS] Re.: is networking different?

Larry McVoy lm at mcvoy.com
Tue Jul 5 06:44:49 AEST 2022


On Mon, Jul 04, 2022 at 10:09:52PM +0200, Paul Ruizendaal via TUHS wrote:
> With the above one could do
> 
> open("/net/inet/org.tuhs.www:80", O_RDWR | O_STREAM)
> 
> to connect to the TUHS web server, and do
> 
> open("/net/inet/any:80", O_RDWR | O_STREAM | O_CREAT, 0600)
> 
> to create a "listening" (rendez-vous) socket.

Decades ago, I tried to make a library that worked like this and it
was problematic.  There are all sorts of setsockopt things that
you sometimes need to set.

I'd love to be wrong on this, if anyone has a working, for all of the
normal use cases, library like this, I'd love to see it.


More information about the TUHS mailing list