Namespaces | Functions
Dns.h File Reference

Go to the source code of this file.

Namespaces

 AppSecInc
 
 AppSecInc::TcpIp
 
 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 More...
 
std::string AppSecInc::TcpIp::DNS::GetHostByAddress (const std::string &ip_addr, int family=AF_INET)
 get host name by IPv4 address More...
 
std::wstring AppSecInc::TcpIp::DNS::GetHostByName (const std::wstring &name, int family=AF_INET)
 get host name by DNS name or IPv4 address More...
 
std::string AppSecInc::TcpIp::DNS::GetHostByName (const std::string &name, int family=AF_INET)
 get host name by DNS name or IPv4 address More...
 
bool AppSecInc::TcpIp::DNS::IsIpAddress (const std::wstring &name, int family=AF_INET)
 returns true if this is an IPv4 address More...
 
bool AppSecInc::TcpIp::DNS::IsIpAddress (const std::string &name, int family=AF_INET)
 returns true if this is an IPv4 address More...
 
std::vector< std::wstring > AppSecInc::TcpIp::DNS::GetHostIpAddresses (const std::wstring &name, int family=AF_INET)
 get host IPv4 addresses More...
 
std::vector< std::string > AppSecInc::TcpIp::DNS::GetHostIpAddresses (const std::string &name, int family=AF_INET)
 get host IPv4 addresses More...
 
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 More...
 
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 More...
 
std::wstring AppSecInc::TcpIp::DNS::GetHostNameW (const std::wstring &defaultvalue=L"localhost")
 get the local host name from tcp/ip registry configuration More...
 
std::string AppSecInc::TcpIp::DNS::GetHostNameA (const std::string &defaultvalue="localhost")
 get the local host name from tcp/ip registry configuration More...
 


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