mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +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.