Address class.
More...
#include <Address.h>
|
static Ptr | create (const sockaddr *address, socklen_t address_len) |
|
static bool | lookUp (std::vector< Address::Ptr > &result, const std::string &host, int family=AF_INET, int type=0, int protocol=0) |
|
static Address::Ptr | lookUpAny (const std::string &host, int family=AF_INET, int type=0, int protocol=0) |
|
◆ Ptr
◆ ~Address()
virtual sese::net::Address::~Address |
( |
| ) |
|
|
virtualdefault |
◆ create()
Address::Ptr Address::create |
( |
const sockaddr * | address, |
|
|
socklen_t | address_len ) |
|
static |
◆ getAddress()
virtual std::string sese::net::Address::getAddress |
( |
| ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getRawAddress()
virtual sockaddr * sese::net::Address::getRawAddress |
( |
| ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getRawAddressLength()
virtual socklen_t sese::net::Address::getRawAddressLength |
( |
| ) |
const |
|
nodiscardpure virtualnoexcept |
◆ lookUp()
bool Address::lookUp |
( |
std::vector< Address::Ptr > & | result, |
|
|
const std::string & | host, |
|
|
int | family = AF_INET, |
|
|
int | type = 0, |
|
|
int | protocol = 0 ) |
|
static |
◆ lookUpAny()
Address::Ptr Address::lookUpAny |
( |
const std::string & | host, |
|
|
int | family = AF_INET, |
|
|
int | type = 0, |
|
|
int | protocol = 0 ) |
|
static |
The documentation for this class was generated from the following files: