OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TWinSock Class Reference

TWinSock is an alias for an instance of the TDllLoader template which ensures the underlying DLL is loaded and available. More...

#include <owl/winsock.h>

Static Public Member Functions

static bool IsAvailable (void)
 Returns true if the DLL implementing WinSock is available and loaded, or false otherwise.
 
static TWinSockDllDll (void)
 

Detailed Description

TWinSock is an alias for an instance of the TDllLoader template which ensures the underlying DLL is loaded and available.

The 'IsAvailable' method (defined by the TDllLoader template) can be used to load the DLL. For example,

// DLL is loaded - Proceed with WinSock calls
} else {
// Error - Underlying DLL is not available.
}
static bool IsAvailable(void)
Returns true if the DLL implementing WinSock is available and loaded, or false otherwise.
Definition winsock.cpp:422

Definition at line 145 of file winsock.h.

Member Function Documentation

◆ Dll()

TWinSockDll * owl::TWinSock::Dll ( void )
static

Definition at line 428 of file winsock.cpp.

◆ IsAvailable()

bool owl::TWinSock::IsAvailable ( void )
static

Returns true if the DLL implementing WinSock is available and loaded, or false otherwise.

Definition at line 422 of file winsock.cpp.

References owl::TWinSockDll::IsAvailable().


The documentation for this class was generated from the following files: