D-Programming-Language/phobos — pull request #1155 by CyberShadow (2013-02-24 01:20:01+00:00)
Title: std.c.windows.winsock: Fix types of SOCKET and socklen_t

The SOCKET type was wrong and caused 64-bit programs using WinSock functions that passed SOCKETs indirectly (like `select`) to not work.

I noticed the signedness of `socklen_t` was also different from the C headers, so I fixed that as well.

As far as I can tell, this was the only problem preventing std.socket from working on Win64.