set the winsock variable differently on Windows