Class CTCPPortScanner::
DoneThread()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: DestroySocketNext page: GetConnectionTimeout    Show member index
Private Function Declared in:
TCPPortScanner.h

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

static DWORD DoneThread(
    LPVOID lpData);

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

Our thread

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

try
{
    //Get the structure
    std::auto_ptr<ThreadData> pData((ThreadData*)lpData);

    //Get the class
    CTCPPortScanner* pClass;
    pClass=(CTCPPortScanner*)pData->pScanner;

    //Notify library
    pClass->TCPScanDoneLib(pData->bError);

    //Set flags
    pClass->m_bDone=TRUE;
    pClass->m_bError=pData->bError;

    //Notify user
    pClass->TCPScanDone(pData->bError);

    //Done
    return TRUE;
}
ERROR_HANDLER_STATIC_RETURN(CTCPPortScanner_Class,"DoneThread",FALSE)

'See Also' icon -- Shortcut to top of page. See Also

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