13#include <owl/winsock.rh>
48 SizeToAllocate (
src.SizeToAllocate)
134 size_t n = s.length() + 1;
230 size_t n = s.length() + 26;
246TSocketError::GetModule()
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TSocketError converts Windows Sockets errors to string messages.
void GetErrorString()
Convert the error code to string.
const tchar * GetReasonString() const
This function hands the pointer to the string to the caller.
TSocketError & operator=(const TSocketError &src)
This function copies the error code and string.
virtual ~TSocketError()
This function destroys the allocated string.
int GetReasonValue() const
This function returns the error code.
size_t SizeToAllocate
Size to allocate for String.
tchar * String
Error code converted to string.
TSocketError(int error=0, unsigned sizeToAllocate=128)
This function constructs the object with the error code and the size of the buffer to allocate.
void Init(int error)
This function initializes the error code.
tchar * AppendError(const tchar *stringToAppendErrorTo, tchar *destination=0)
This function appends the error string to whatever is in the string 'stringToAppendErrorTo' and put t...
int operator==(const TBitSet< T > &bs1, const TBitSet< T > &bs2)
char * strnewdup(const char *s, size_t minAllocSize=0)
Definition of class TModule.
Object Windows Library (OWLNext Core)
TModule & GetGlobalModule()
General definitions used by all ObjectWindows programs.
#define COUNTOF(s)
Array element count Important: Only use this with an argument of array type.
Main header of the Winsock OWL subsystem.