|
Sese Framework
3.0.0
A cross-platform framework
|
IP address pool. More...
#include <AddressPool.h>
Static Public Member Functions | |
| static std::shared_ptr< ADDRESS > | lookup (const std::string &domain) noexcept |
Private Member Functions | |
| AddressPool ()=default | |
Private Attributes | |
| std::map< std::string, std::shared_ptr< ADDRESS > > | addressMap |
Static Private Attributes | |
| static AddressPool | pool |
IP address pool.
|
privatedefault |
|
staticnoexcept |
Get the mapping between domain name and IP address
| domain | The domain name |
| nullptr | Not found in cache and lookup failed |
| other | Address found |
Referenced by sese::net::http::RequestParser::parseAddress().
|
private |
|
staticprivate |