#include <socket.h>
#include <string.h>
#include <error.h>
#include <iterator.h>
Go to the source code of this file.
◆ DeinitWinsock()
Definition at line 340 of file socket.cpp.
341{
344}
int PASCAL FAR WSACleanup(void)
Referenced by Run().
◆ InitWinsock()
Definition at line 319 of file socket.cpp.
320{
321 WORD wVersionRequested;
323
325
326 if (
WSAStartup(wVersionRequested, &wsaData) != 0)
327
329
330
331
333
335 throw ESocketDll(
TS(
"Winsock dll version is not 2.0 or higher."));
336 }
337}
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
Referenced by Run().