68 for (
int i = 0;
i < 14;
i++) {
203#if !defined(__GNUC__)
213#if !defined(__GNUC__)
247#if !defined(__GNUC__)
268#if !defined(__GNUC__)
323 for (
int i = 0;
i < 8;
i++)
327#if !defined(__GNUC__)
343#if !defined(__GNUC__)
The TINetSocketAddress class encapsulates a Winsock Internet address.
TINetClass
TINetClass is an enumeration that specifies which network class it belongs to.
@ ClassUnknown
Unknown class net addressing.
@ ClassB
B class net addressing.
@ ClassA
A class net addressing.
@ ClassC
C class net addressing.
ulong GetNetworkAddress() const
This function returns an IP binary address in network byte ordering.
ushort GetPort() const
This function returns the port in network byte ordering.
ulong GetNetwork() const
This function returns 0 if the network cannot be determined.
void SetFiller()
This is an internal function used to zero out the unused data of the address.
TINetSocketAddress()
This function constructs an object.
static short IsAddressDottedDecimal(const char *address)
This function can be used to tell if a character string points to an address in dotted-decimal IP for...
ulong GetNode() const
This function returns the node component of the address with the subnet masked out.
void SetNetworkAddress(ulong address)
This function sets the network address.
void SetAddress(ushort newFamily, ushort newPort, ulong newAddress)
This function makes an address out of the necessary IP address components.
static ulong ConvertAddress(const char *address)
This function accepts a character string IP address (for example, 162.132.211.204) and converts it to...
TINetClass GetClass() const
This function uses Windows Sockets macros to get standard class information.
void SetPort(ushort port)
This function sets the port of the addressing.
TINetSocketAddress & operator=(const sockaddr &src)
The argument should be in the same byte ordering (network) as this object.
The TSocketAddress class stores a Winsock socket address.
void SetFamily(ushort family)
Sets the family of addressing this address belongs to.
TSocketAddress & operator=(const sockaddr &src)
The argument address should be in network byte ordering.
TSocketAddress()
Only the family is specified. The rest of the data is currently undefined.
void SetAddress(ushort family, const char *data, short dataLength)
'newFamily' is AF_INET, etc.
static ulong inet_addr(const char *cp)
static char * inet_ntoa(struct in_addr in)
int operator==(const TBitSet< T > &bs1, const TBitSet< T > &bs2)
Object Windows Library (OWLNext Core)
General definitions used by all ObjectWindows programs.
Main header of the Winsock OWL subsystem.