IP address class.
More...
#include <IPAddress.h>
|
static Ptr | create (const char *address, uint16_t port=0) |
|
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
◆ create()
IPAddress::Ptr IPAddress::create |
( |
const char * | address, |
|
|
uint16_t | port = 0 ) |
|
static |
◆ getBroadcastAddress()
virtual Ptr sese::net::IPAddress::getBroadcastAddress |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getFamily()
virtual uint16_t sese::net::IPAddress::getFamily |
( |
| ) |
|
|
nodiscardpure virtualnoexcept |
◆ getNetworkAddress()
virtual Ptr sese::net::IPAddress::getNetworkAddress |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getPort()
virtual uint16_t sese::net::IPAddress::getPort |
( |
| ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getSubnetMask()
virtual Ptr sese::net::IPAddress::getSubnetMask |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ setFamily()
virtual void sese::net::IPAddress::setFamily |
( |
uint16_t | family | ) |
|
|
pure virtualnoexcept |
◆ setPort()
virtual void sese::net::IPAddress::setPort |
( |
uint16_t | port | ) |
|
|
pure virtualnoexcept |
The documentation for this class was generated from the following files: