Class CRealTimeTraceRouteSocket::
CRealTimeTraceRouteSocket()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CRealTimeDNSManager::~CRealTimeDNSManagerNext page: ~CRealTimeTraceRouteSocket    Show member index
Public Constructor Declared in:
RealTimeTraceRouteSocket.h

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

CRealTimeTraceRouteSocket(
    std::string sDNSServer,
    BOOL bDNSTcp,
    BOOL bMultithreaded=TRUE);

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

ctor and dtor

'Initializer Override(s)' icon -- Shortcut to top of page. Initializer Override(s)

CPingSocket()
m_bTraceDone(
TRUE)    
m_pManager(
NULL)    
m_pCSection(
NULL)    
m_bInitialized(
FALSE)    
m_bResolveIPs(
TRUE)    
m_pCSectionResolve(
NULL)    
m_pCSectionGeneral(
NULL)    
m_bFinishing(
FALSE)    
m_bPartialDone(
FALSE)    

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

try
{
    //Set our name
    SetName(CRealTimeTraceRouteSocket_Class);

    //Same ping ID
    SetUseSameID(TRUE);

    //Create the manager
    m_pManager=new CRealTimeDNSManager(this,
                                       sDNSServer,
                                       bDNSTcp);

    //Create the CS
    m_pCSection=COSManager::CreateCriticalSection();
    m_pCSectionResolve=COSManager::CreateCriticalSection();
    m_pCSectionGeneral=COSManager::CreateCriticalSection();

    //Initialize it
    if (!(m_bInitialized=m_pManager->Initialize()))
        //Report it
        ReportError("CRealTimeTraceRouteSocket","Failed to initialize DNS!");
    else
    {
        //Set the timeout of the DNS
        m_pManager->SetDNSTimeout(15000);

        //Set the socket timeout
        m_pManager->SetConnectionTimeout(7500);

        //Set it to be multithreaded
        if (bMultithreaded)
            m_pManager->ParseMultithreaded(10);
    }
}
ERROR_HANDLER("CRealTimeTraceRouteSocket")

'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.