![]() |
OnDNSReceive() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: DNSManager.h |
void OnDNSReceive( CDNSAnswers* pAnswers);
Receive an answer from the sockets
try { //Protect the answers std::auto_ptr<CDNSAnswers> pProtection(pAnswers); //Get the ID unsigned short usID; usID=pAnswers->GetDNSID(); //Where we timed out ? if (WasTimedout(usID)) return; //Get the data LPVOID lpData; lpData=GetRecord(usID); //Release the protection pProtection.release(); //Fire the event OnDNSReceive(pAnswers,lpData); //Delete the record RemoveRecord(usID); } ERROR_HANDLER("OnDNSReceive")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |