Home | History | Annotate | Download | only in ip

Lines Matching refs:address

2 // ip/address.hpp
29 * The asio::ip::address class provides the ability to use either IP
36 class address
40 ASIO_DECL address();
42 /// Construct an address from an IPv4 address.
43 ASIO_DECL address(const asio::ip::address_v4& ipv4_address);
45 /// Construct an address from an IPv6 address.
46 ASIO_DECL address(const asio::ip::address_v6& ipv6_address);
49 ASIO_DECL address(const address& other);
52 ASIO_DECL address(address&& other);
54 /// Assign from another address.
55 ASIO_DECL address& operator=(const address& other);
57 /// Move-assign from another address.
58 ASIO_DECL address& operator=(address&& other);
60 /// Assign from an IPv4 address.
61 ASIO_DECL address& operator=(
64 /// Assign from an IPv6 address.
65 ASIO_DECL address& operator=(
68 /// Get whether the address is an IP version 4 address.
74 /// Get whether the address is an IP version 6 address.
80 /// Get the address as an IP version 4 address.
83 /// Get the address as an IP version 6 address.
86 /// Get the address as a string in dotted decimal format.
89 /// Get the address as a string in dotted decimal format.
92 /// Create an address from an IPv4 address string in dotted decimal form,
93 /// or from an IPv6 address in hexadecimal notation.
94 ASIO_DECL static address from_string(const char* str);
96 /// Create an address from an IPv4 address string in dotted decimal form,
97 /// or from an IPv6 address in hexadecimal notation.
98 ASIO_DECL static address from_string(
101 /// Create an address from an IPv4 address string in dotted decimal form,
102 /// or from an IPv6 address in hexadecimal notation.
103 ASIO_DECL static address from_string(const std::string& str);
105 /// Create an address from an IPv4 address string in dotted decimal form,
106 /// or from an IPv6 address in hexadecimal notation.
107 ASIO_DECL static address from_string(
110 /// Determine whether the address is a loopback address.
113 /// Determine whether the address is unspecified.
116 /// Determine whether the address is a multicast address.
120 ASIO_DECL friend bool operator==(const address& a1, const address& a2);
123 friend bool operator!=(const address& a1, const address& a2)
129 ASIO_DECL friend bool operator<(const address& a1, const address& a2);
132 friend bool operator>(const address& a1, const address& a2)
138 friend bool operator<=(const address& a1, const address& a2)
144 friend bool operator>=(const address& a1, const address& a2)
150 // The type of the address.
153 // The underlying IPv4 address.
156 // The underlying IPv6 address.
166 #include "asio/ip/impl/address.hpp"
167 # include "asio/ip/impl/address.ipp"