18 #ifndef IPADDRESS_HPP_ 19 #define IPADDRESS_HPP_ 48 unsigned int port()
const;
61 std::ostream &os,
const IPAddress &ipaddress);
64 unsigned long address_;
66 void construct_(
unsigned long address,
unsigned int port);
82 #endif // IPADDRESS_HPP_ unsigned int port() const
IPAddress & operator=(const IPAddress &other)=default
friend std::ostream & operator<<(std::ostream &os, const IPAddress &ipaddress)
IPAddress(const IPAddress &other)=default
std::ostream & operator<<(std::ostream &os, const Action &action)
bool operator==(const Action &lhs, const Action &rhs)
unsigned long address() const
bool operator<=(const IPAddress &lhs, const IPAddress &rhs)
bool operator!=(const Action &lhs, const Action &rhs)
IPAddress dnslookup(const std::string &url)
bool operator>=(const IPAddress &lhs, const IPAddress &rhs)
bool operator>(const IPAddress &lhs, const IPAddress &rhs)
bool operator<(const IPAddress &lhs, const IPAddress &rhs)