9#if !defined(OWL_WINSOCK_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
57 static int closesocket(
SOCKET s);
59 static int getpeername(
SOCKET s,
struct sockaddr *
name,
61 static int getsockname(
SOCKET s,
struct sockaddr *
name,
67 static ulong inet_addr(
const char *
cp);
68 static char * inet_ntoa(
struct in_addr in);
73 static int recv(
SOCKET s,
char * buf,
int len,
int flags);
74 static int recvfrom(
SOCKET s,
char * buf,
int len,
int flags,
82 const struct sockaddr *
to,
int toLen);
91 static struct hostent * gethostbyname(
LPCSTR name);
101 static int WSACleanup(
void);
102 static void WSASetLastError(
int error);
103 static int WSAGetLastError(
void);
104 static BOOL WSAIsBlocking(
void);
105 static int WSAUnhookBlockingHook(
void);
107 static int WSACancelBlockingCall(
void);
122 static int WSARecvEx(
SOCKET s,
char * buf,
int len,
int * flags);
126 static TModule& WinSockModule();
127 static bool IsAvailable();
148 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.