16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
109 virtual void setAddress(
const DtInetAddr& addr );
116 virtual void setPort(
DtU16 port );
117 virtual DtU16 port()
const;
134 virtual bool isIPv4()
const;
135 virtual bool isIPv6()
const;
136 virtual bool isTcp()
const;
137 virtual bool isTls()
const;
138 virtual bool isUdp()
const;
144 virtual int toSockaddr(
struct sockaddr_in* s );
145 virtual int toSockaddr(
struct sockaddr_in6* s );
157 virtual const DtString& toDtString(
bool showProtocol =
false )
const;
164 virtual DtString getLastErrorString();
167 virtual void* boostEndpoint();
172 virtual void* tcpEndpoint();
173 virtual void* tlsEndpoint();
174 virtual void* udpEndpoint();
211 #ifdef DtUSE_UTILITIES_NAMESPACE
Definition: vlInetEndpoint.h:26
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
Definition: vlInetAddrUtils.h:58
DtInetAddr myAddr
Definition: vlInetEndpoint.h:194
Definition: vlInetEndpoint.h:25
Definition: vlInetAddrUtils.h:60
Contains the DtString class declaration.
DtString myLastErrorString
Definition: vlInetEndpoint.h:199
void * myTlsEndpoint
Definition: vlInetEndpoint.h:191
DtString myMutableFullString
Definition: vlInetEndpoint.h:206
void * myTcpEndpoint
Definition: vlInetEndpoint.h:190
DtU16 myPort
Definition: vlInetEndpoint.h:195
bool myError
Definition: vlInetEndpoint.h:198
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:204
The DtInetEndpoint class provides a protocol independant, address family independent mechanism to rep...
Definition: vlInetEndpoint.h:34
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:27
DtString myMutableShortString
Definition: vlInetEndpoint.h:205
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:152
DtInetProtocol myProtocol
Definition: vlInetEndpoint.h:196
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
Definition: vlInetEndpoint.h:24
void * myUdpEndpoint
Definition: vlInetEndpoint.h:192
Instances of DtString are used to represent strings.
Definition: vlString.h:38
const bool operator<(const DtU128 &lhs, const DtU128 &rhs)
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:121