Sese Framework
x.y.z
A cross-platform framework
|
IP 地址池 更多...
#include <AddressPool.h>
静态 Public 成员函数 | |
static std::shared_ptr< ADDRESS > | lookup (const std::string &domain) noexcept |
Private 成员函数 | |
AddressPool ()=default | |
Private 属性 | |
std::map< std::string, std::shared_ptr< ADDRESS > > | addressMap |
静态 Private 属性 | |
static AddressPool | pool |
IP 地址池
|
privatedefault |
|
staticnoexcept |
获取域名与 IP 地址的映射关系
domain | 域名 |
nullptr | 未命中缓存且查找失败 |
other | 查找到地址 |
|
private |
|
staticprivate |