Namespaces | Functions

src/Common/TcpIp/Dns.h File Reference

Go to the source code of this file.

Namespaces

namespace  AppSecInc
namespace  AppSecInc::TcpIp
namespace  AppSecInc::TcpIp::DNS

Functions

std::wstring AppSecInc::TcpIp::DNS::GetHostByAddress (const std::wstring &ip_addr, int family=AF_INET)
 get host name by IPv4 address
std::string AppSecInc::TcpIp::DNS::GetHostByAddress (const std::string &ip_addr, int family=AF_INET)
 get host name by IPv4 address
std::wstring AppSecInc::TcpIp::DNS::GetHostByName (const std::wstring &name, int family=AF_INET)
 get host name by DNS name or IPv4 address
std::string AppSecInc::TcpIp::DNS::GetHostByName (const std::string &name, int family=AF_INET)
 get host name by DNS name or IPv4 address
bool AppSecInc::TcpIp::DNS::IsIpAddress (const std::wstring &name, int family=AF_INET)
 returns true if this is an IPv4 address
bool AppSecInc::TcpIp::DNS::IsIpAddress (const std::string &name, int family=AF_INET)
 returns true if this is an IPv4 address
std::vector< std::wstring > AppSecInc::TcpIp::DNS::GetHostIpAddresses (const std::wstring &name, int family=AF_INET)
 get host IPv4 addresses
std::vector< std::string > AppSecInc::TcpIp::DNS::GetHostIpAddresses (const std::string &name, int family=AF_INET)
 get host IPv4 addresses
void AppSecInc::TcpIp::DNS::GetHostInfo (const std::wstring &name, std::wstring &hostname, std::vector< std::wstring > &aliases, std::vector< std::wstring > &ipaddresses, int family=AF_INET)
 get host IPv4 information
void AppSecInc::TcpIp::DNS::GetHostInfo (const std::string &name, std::string &hostname, std::vector< std::string > &aliases, std::vector< std::string > &ipaddresses, int family=AF_INET)
 get host IPv4 information
std::wstring AppSecInc::TcpIp::DNS::GetHostNameW (const std::wstring &defaultvalue=L"localhost")
 get the local host name from tcp/ip registry configuration
std::string AppSecInc::TcpIp::DNS::GetHostNameA (const std::string &defaultvalue="localhost")
 get the local host name from tcp/ip registry configuration


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com