Class KomodiaDNS::CDNSQuery::
AddQuery()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: m_aQueriesNext page: CDNSQuery    Show member index
Public Function Declared in:
DNSQuery.h

'Declaration' icon -- Shortcut to top of page. Declaration

void AddQuery(
    const std::string& rDomain,
    DNSQueryTypes aType);

'Description' icon -- Shortcut to top of page. Description

Add a query to the DNS query

'Function Body' icon -- Shortcut to top of page. Function Body

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")

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CErrorHandler  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.