News for hackers. Stuff that matters.
Re:Introduction to TCP and Sockets (2001) by remram on Wednesday July 20, 2022 @10:56AM (#32166651)
Some language APIs already have that capability, for example Rust (TcpStream::split() https://docs.rs/tokio/latest/tokio/net/struct.TcpStream.html...)

With the POSIX API, you can duplicate the socket file descriptor, but calling shutdown() to close one direction of a file descriptor will actually close that direction on all file descriptors... unfortunate.

There are no comments on this comment yet.