9#if !defined(OWL_WINSOCK_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
61 static int closesocket(
SOCKET s);
63 static int getpeername(
SOCKET s,
struct sockaddr *
name,
65 static int getsockname(
SOCKET s,
struct sockaddr *
name,
71 static ulong inet_addr(
const char *
cp);
72 static char * inet_ntoa(
struct in_addr in);
77 static int recv(
SOCKET s,
char * buf,
int len,
int flags);
78 static int recvfrom(
SOCKET s,
char * buf,
int len,
int flags,
86 const struct sockaddr *
to,
int toLen);
95 static struct hostent * gethostbyname(
LPCSTR name);
105 static int WSACleanup(
void);
106 static void WSASetLastError(
int error);
107 static int WSAGetLastError(
void);
108 static BOOL WSAIsBlocking(
void);
109 static int WSAUnhookBlockingHook(
void);
111 static int WSACancelBlockingCall(
void);
126 static int WSARecvEx(
SOCKET s,
char * buf,
int len,
int * flags);
130 static TModule& WinSockModule();
131 static bool IsAvailable();
152 static bool IsAvailable(
void);
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
The TWinSockDll class encapsulates the WinSock DLL (WINSOCK.DLL).
TWinSock is an alias for an instance of the TDllLoader template which ensures the underlying DLL is l...
Definition of class TModule.
Object Windows Library (OWLNext Core)
Main header of the Winsock OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.
Winsock for OWL subsystem.