Relative Content

Tag Archive for winapi32bit-64bit

Windows networking: are SOCKET’s and file descriptors the same thing, such that file descriptor API can be used for sockets?

I’m compiling some old base network class code that’s always worked fine on both Linux and Windows 32-bit with older compilers, specifically Visual Studio 6.0 on Windows 95 up to 2016 or something on Windows 7. It’s had some conditional compilation to work on VMS, Solaris, Linux, and Windows (e.g., calling WSAStartup(), different headers, errno vs. WSALastError(), but it compiled without error (and without turning off all warnings) and ran fine.