zig-network
zig-network copied to clipboard
add sources to the notes
nice articles on portable sockets I found:
introduction to raw sockets and portable sockets basics.
Other implementations
- https://github.com/Ybalrid/kissnet
- https://github.com/fpagliughi/sockpp
Not sure, if relevant: https://github.com/microsoft/WSL/issues/4240
Also: This seems to be an open problem on stack overflow.
From what I have been reading, only AF_INET and AF_INET6 are widely portable due to their necessity/generality. Otherwise, (anonymous) pipes are used. Though, curiously I found a (more recent) benchmark that shows (anonymous) pipes to be slower than unix domain sockets.