#include <string>
Go to the source code of this file.
Functions | |
std::pair< std::string, std::string > | parse_network_address (const std::string &address, const std::string &default_port) |
Parse a host:port style network address, supporting [] notation for ipv6 addresses. More... | |
std::pair<std::string, std::string> parse_network_address | ( | const std::string & | address, |
const std::string & | default_port | ||
) |
Parse a host:port style network address, supporting [] notation for ipv6 addresses.
address | |
default_port | the port to return if address doesn't have it specified |
Definition at line 21 of file parse_network_address.cpp.
Referenced by addons_client::addons_client().