Agora
1.2.0
Agora project
|
For addr info. More...
Functions | |
int | ListLocalInterfaces () |
std::string | GetLocalAddressFromScope (size_t scope_id) |
::addrinfo * | GetAddressInfo (const std::string &address, const std::string &port) |
void | PrintAddressInfo (const ::addrinfo *print_info) |
Variables | |
static constexpr bool | kDebugPrint = false |
static constexpr int | kAllowedAiFamily = AF_UNSPEC |
Allow either - AF_INET6 | AF_INET. More... | |
For addr info.
addrinfo * agora_comm::GetAddressInfo | ( | const std::string & | address, |
const std::string & | port | ||
) |
Set node to NULL for loopback or all interfaces
wildcard
Any protocol
std::string agora_comm::GetLocalAddressFromScope | ( | size_t | scope_id | ) |
int agora_comm::ListLocalInterfaces | ( | ) |
void agora_comm::PrintAddressInfo | ( | const ::addrinfo * | print_info | ) |
|
staticconstexpr |
Allow either - AF_INET6 | AF_INET.
|
staticconstexpr |