#include <stdio.h>
#include <winsock2.h>
#include <thread.h>
#include <list.h>
#include <exception>
#include <assert.h>
Go to the source code of this file.
◆ MAX_PENDING_CONNECTS
#define MAX_PENDING_CONNECTS 4 |
◆ LPCClientSocket
◆ LPCServerClientSocket
◆ LPCServerClientThread
◆ LPCServerSocket
◆ LPCSocket
◆ 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().