Sockets with std.net in Zig 0.13.0

I haven’t really used it a lot yet, but these topics seem related:

This one is a bit older, back then a bunch of functions were in std.os that are now in std.posix:

I think for these sorts of things the cookbook is often a good starting point: