AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
AInet4Address Class Reference

Represents an ipv4 address with port. More...

Detailed Description

Represents an ipv4 address with port.

Public Member Functions

uint64_t toLong () const
 
uint32_t toLongAddressOnly () const
 
 AInet4Address (const sockaddr_in &other)
 
 AInet4Address (const AInet4Address &other)
 
 AInet4Address (uint8_t ip[4], uint16_t port=-1)
 
 AInet4Address (uint32_t ip, uint16_t port=-1)
 
 AInet4Address (const AString &addr, uint16_t port=-1)
 
sockaddr_in addr () const
 
bool operator> (const AInet4Address &r) const
 
bool operator< (const AInet4Address &r) const
 
bool operator== (const AInet4Address &o) const
 
AString toString () const
 

#include <AUI/Network/AInet4Address.h>


The documentation for this class was generated from the following files: