![]() |
AddQuery() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: DNSQuery.h |
void AddQuery( const std::string& rDomain, DNSQueryTypes aType);
Add a query to the DNS query
try { //Construct the structure DnsQuestionHeader aData; //Start putting the data aData.sName=CDNSManager::ParseAddress(rDomain); aData.usType=htons(aType); aData.usClass=htons(DNS_CLASS_INTERNET); //Add to the vector m_aQueries.push_back(aData); } ERROR_HANDLER("AddQuery")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |