10#if !defined(OWL_WSKSOCKM_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
56 int GetMajorVersion();
57 int GetMinorVersion();
58 char* GetDescription();
59 char* GetSystemStatus();
60 ushort GetMaxUdpDgAvailable();
61 ushort GetMaxSocketsAvailable();
62 char * GetVendorInfo();
TSocketInfo encapsulates the structure that contains details of the Windows Socket implementation.
A class that starts up WinSock and provides information about the system's WinSock.
int LastError
Last error code.
short StartupCount
Make sure to not overflow number of connects.
int IsAvailable()
Returns true if WinSock is available.
int GetMinorVersion()
Returns the minor version of WinSock support.
ushort GetMaxSocketsAvailable()
Returns maximum number of WinSock connections avaialble.
int GetMajorVersion()
Returns the major version of WinSock support.
int GetLastError()
Returns the last error code.
char * GetVendorInfo()
Returns this WinSocket's vendor's information.
char * GetDescription()
Returns the system's description of WinSock.
char * GetSystemStatus()
Returns the status of WinSock.
void Information(TSocketInfo &socketInfo)
Sets the information about this WinSocket.
short Available
Flag for Winsock availability.
ushort GetMaxUdpDgAvailable()
Returns maximum number of bytes each UDP packet can be.
short VersionMajor
Major verion number.
TSocketInfo SocketInfo
Information about this WinSocket implementation.
short VersionMinor
Minor verion number.
Object Windows Library (OWLNext Core)
General definitions used by all ObjectWindows programs.
Main header of the Winsock OWL subsystem.