24class API_AUI_NETWORK AInet4Address
31 uint64_t toLong()
const;
32 uint32_t toLongAddressOnly()
const;
34 AInet4Address(
const sockaddr_in& other);
35 AInet4Address(
const AInet4Address& other);
36 AInet4Address(uint8_t ip[4], uint16_t port = -1);
37 AInet4Address(uint32_t ip, uint16_t port = -1);
38 AInet4Address(
const AString& addr, uint16_t port = -1);
40 sockaddr_in addr()
const;
41 bool operator>(
const AInet4Address& r)
const;
42 bool operator<(
const AInet4Address& r)
const;
43 bool operator==(
const AInet4Address& o)
const;