![]() |
OnDNSReceive() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Private Function |
Declared in: DNSManager.h |
Declaration
void OnDNSReceive(
CDNSAnswers* pAnswers);
DescriptionReceive an answer from the sockets
Function Body
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")
See Also
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. |