![]() |
FakeLastRequest() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: RealTimeTraceRouteSocket.h |
Declarationvoid FakeLastRequest();
DescriptionFake the last request
Function Body
try
{
//Did we resolve target ?
if (!m_aData[mhMaxHops].aReplyingAddress)
{
{
//Lock the data
CCriticalAutoRelease aRelease(m_aData[mhMaxHops].pCSection.get(),TRUE);
//Put the data
m_aData[mhMaxHops].aReplyingAddress=m_aTracedAddress;
m_aData[mhMaxHops].dwElapsedTime=0;
m_aData[mhMaxHops].ucTTL=m_ucMaxHOP;
m_aData[mhMaxHops].pDNS=m_pManager;
}
//Do we need to send it ?
if (m_bResolveIPs)
{
//Set the resolvers
AdjustResolvers(1);
//Create the data
ResolveThreadData* pThreadData;
pThreadData=new ResolveThreadData;
//Populate it
pThreadData->pClass=this;
pThreadData->pData=&m_aData[mhMaxHops];
//Add the reverse DNS
m_pManager->GetThreadManager()->SubmitJob(ResolveData,(LPVOID)pThreadData);
}
//Call it for modify
TraceDataForModify(&m_aData[mhMaxHops],
FALSE);
//Call user routing
TraceData(&m_aData[mhMaxHops],
FALSE);
}
}
ERROR_HANDLER("FakeLastRequest")
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. |