90 const string&
host()
const {
return _host; }
92 int port()
const {
return _port; }
100 bool isBroadcast()
const;
102 bool isStandard()
const;
105 bool IpEndPoint::isIPV4()
const;
106 bool IpEndPoint::isIPV6()
const;
109 string toString()
const;
115 #pragma warning(disable:4251) 117 #pragma warning(default:4251) bool operator==(const IpEndPoint &left, const IpEndPoint &right)
Definition: IpEndPoint.h:131
static const IpEndPoint Local
Definition: IpEndPoint.h:46
Definition: IpEndPoint.h:61
const string & host() const
The host string (IP address).
Definition: IpEndPoint.h:90
string toString() const
The string describing this object.
This class encapsulates IP address and port. Static member instances represent common patterns and ad...
Definition: IpEndPoint.h:20
Definition: IpEndPoint.h:63
static const IpEndPoint All
This object and is used in server scripts as in the example.
Definition: IpEndPoint.h:56
AddressType addressType() const
The AddressType of this object.
Definition: IpEndPoint.h:94
Definition: IpEndPoint.h:62
static const IpEndPoint Broadcast
Definition: IpEndPoint.h:57
Definition: IpEndPoint.h:64
static const IpEndPoint None
This object is the value given to for to an uninitialized variable.
Definition: IpEndPoint.h:39
ostream & operator<<(ostream &out, const IpEndPoint &addr)
Definition: IpEndPoint.h:122
Definition: IpEndPoint.h:9
int port() const
The port (IP port).
Definition: IpEndPoint.h:92
static const IpEndPoint Any
This object is a "wild card" and used to represent an IP address and port where the actual values use...
Definition: IpEndPoint.h:29
AddressType
A low level enumeration used internally.
Definition: IpEndPoint.h:60
bool operator<(const IpEndPoint &left, const IpEndPoint &right)
Definition: IpEndPoint.h:124