Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
process::network::inet4::Address Class Reference

#include <address.hpp>

Inheritance diagram for process::network::inet4::Address:
process::network::inet::Address

Public Member Functions

 Address (const net::IPv4 &ip, uint16_t port)
 
 Address (const sockaddr_in &in)
 
- Public Member Functions inherited from process::network::inet::Address
 Address (const net::IP &_ip, uint16_t _port)
 
Try< std::string > lookup_hostname () const
 Returns the hostname of this address's IP, using a reverse DNS lookup for remote addresses or the local hostname for a local address. More...
 
 operator sockaddr_storage () const
 
bool operator< (const Address &that) const
 
bool operator> (const Address &that) const
 
bool operator== (const Address &that) const
 
bool operator!= (const Address &that) const
 

Static Public Member Functions

static Address LOOPBACK_ANY ()
 
static Address ANY_ANY ()
 

Additional Inherited Members

- Public Attributes inherited from process::network::inet::Address
net::IP ip
 
uint16_t port
 

Constructor & Destructor Documentation

process::network::inet4::Address::Address ( const net::IPv4 ip,
uint16_t  port 
)
inline
process::network::inet4::Address::Address ( const sockaddr_in &  in)
inline

Member Function Documentation

static Address process::network::inet4::Address::ANY_ANY ( )
inlinestatic
static Address process::network::inet4::Address::LOOPBACK_ANY ( )
inlinestatic

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