Commit 422d9453 authored by cc's avatar cc
Browse files

bumped winsock to 2.2, wVersionRequested

parent bb5c2d3c
......@@ -188,7 +188,7 @@ int UdpDataProtocol::bindSocket()
WSADATA wsaData;
int err;
wVersionRequested = MAKEWORD( 1, 1 );
wVersionRequested = MAKEWORD( 2, 2 );
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
......@@ -200,8 +200,8 @@ int UdpDataProtocol::bindSocket()
// Confirm that the Windows Sockets DLL supports 1.1. or higher
if ( LOBYTE( wsaData.wVersion ) != 1 ||
HIBYTE( wsaData.wVersion ) != 1 ) {
if ( LOBYTE( wsaData.wVersion ) != 2 ||
HIBYTE( wsaData.wVersion ) != 2 ) {
// Tell the user that we couldn't find a useable
// winsock.dll.
WSACleanup( );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment