mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
The overlap between files and sockets is minimal and lumping them together means supporting only a small subset of the functionalities provided by the OS. Moreover the socket and file handles are not always interchangeable: on Windows one should use Winsock's close() call rather than the one used for common files.