Class CRealTimeTraceRouteSocket::
FakeLastRequest()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: DNSDoneNext page: GetData    Show member index
Public Function Declared in:
RealTimeTraceRouteSocket.h

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

void FakeLastRequest();

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

Fake the last request

'Function Body' icon -- Shortcut to top of page. 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' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CPingSocket  |  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.