16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
98 virtual void setAddress(
const DtInetAddr& addr );
104 virtual void setPort(
DtU16 port );
105 virtual DtU16 port()
const;
124 virtual bool isIPv4()
const;
125 virtual bool isIPv6()
const;
126 virtual bool isTcp()
const;
127 virtual bool isUdp()
const;
133 virtual int toSockaddr(
struct sockaddr_in* s );
134 virtual int toSockaddr(
struct sockaddr_in6* s );
146 virtual const DtString& toDtString(
bool showProtocol =
false )
const;
153 virtual DtString getLastErrorString();
157 virtual void* tcpEndpoint();
158 virtual void* udpEndpoint();
195 #ifdef DtUSE_UTILITIES_NAMESPACE
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
Definition: vlInetAddrUtils.h:58
DtInetAddr myAddr
Definition: vlInetEndpoint.h:176
Definition: vlInetEndpoint.h:25
Definition: vlInetAddrUtils.h:60
Contains the DtString class declaration.
DtString myLastErrorString
Definition: vlInetEndpoint.h:181
DtString myMutableFullString
Definition: vlInetEndpoint.h:188
void * myTcpEndpoint
Definition: vlInetEndpoint.h:173
DtU16 myPort
Definition: vlInetEndpoint.h:177
bool myError
Definition: vlInetEndpoint.h:180
DtInetAddrFamily
Definition: vlInetAddrUtils.h:55
bool myMutableStringsInitialized
These are mutable so that the string can be initialized only if needed, but may then be stored to avo...
Definition: vlInetEndpoint.h:186
The DtInetEndpoint class provides a protocol independant, address family independent mechanism to rep...
Definition: vlInetEndpoint.h:33
Represents a IPv4 or IPv6 address.
Definition: vlInetAddr.h:36
This file declares useful defaults constants and static methods for IP address handling.
Definition: vlInetEndpoint.h:26
DtString myMutableShortString
Definition: vlInetEndpoint.h:187
This file contains the declaration of the DtInetAddr class.
DtInetProtocol
Specifies the protocol used by the endpoint.
Definition: vlInetEndpoint.h:22
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtInetProtocol myProtocol
Definition: vlInetEndpoint.h:178
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
Definition: vlInetEndpoint.h:24
void * myUdpEndpoint
Definition: vlInetEndpoint.h:174
Instances of DtString are used to represent strings.
Definition: vlString.h:36
const bool operator<(const DtU128 &lhs, const DtU128 &rhs)
DtString myNodeName
Definition: vlInetEndpoint.h:190
const bool operator>(const DtU128 &lhs, const DtU128 &rhs)
This file declares useful defaults constants and static methods employed with the networking abstract...
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109