-
Notifications
You must be signed in to change notification settings - Fork 11
Windows Notes
Anton Dedov edited this page Jan 19, 2016
·
1 revision
Library does not initialise WinSocket subsystem as it should be done by application. Here is sample code that could be used before working with network sockets on Windows:
#if defined(WIN32)
WORD wVersionRequested;
WSADATA wsaData;
wVersionRequested = MAKEWORD(2, 2);
WSAStartup(wVersionRequested, &wsaData);
#endif