41 #ifndef _networkutilities_h
42 #define _networkutilities_h
44 #include "Network/socketdescription.h"
NetworkLayerProtocol
This is an enum listing for recognized protocols on Layer 3 of the OSI model.
int Integer
A datatype used to represent any integer close to.
Used for error conditions.
A special container class used to store the results from a call to "ResolveDomainName".
UInt16 ConvertNetworkToHostByteOrder(const UInt16 ToConvert)
Converts a UInt16 from the network byte order to host byte order.
uint16_t UInt16
An 16-bit unsigned integer.
TransportLayerProtocol
This is an enum listing for recognized protocols on Layer 4 of the OSI model.
uint32_t UInt32
An 32-bit unsigned integer.
This is a simple class for representing IP addresses used throughout the Network subsystem.
Used for error conditions.
addrinfo * Addresses
A pointer to the internal structure holding the resulting addresses.
SocketResultContainer ResolveNumericHost(const IPAddress &Address, const UInt16 Port, const TransportLayerProtocol TLP)
Performs a DNS lookup with the provided domain name and port.
SocketDescription CurrDescription
The converted values for the current address being presented.
A convenience class storing socket data that can be returned from utility methods and used to create ...
UInt16 ConvertHostToNetworkByteOrder(const UInt16 ToConvert)
Converts a UInt16 from the host byte order to network byte order.
The bulk of the engine components go in this namspace.
Integer * RefCount
The count of instances that exist for these results.
std::string String
A datatype used to a series of characters.
SocketResultContainer ResolveDomainName(const String &DomainName, const UInt16 Port, const NetworkLayerProtocol NLP, const TransportLayerProtocol TLP)
Performs a DNS lookup with the provided domain name and service.
addrinfo * CurrAddress
A pointer to the current address being presented.