Unused variables
2.0 is not an existing release of WinSock... 2.2 is the correct version to request.
We need to actually include Winsock2 to work with correct implementation of any WinSock 2.x version. This could also support IPv6.