zig-network icon indicating copy to clipboard operation
zig-network copied to clipboard

add sources to the notes

Open matu3ba opened this issue 3 years ago • 0 comments

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.

matu3ba avatar Feb 26 '22 20:02 matu3ba