![]() |
ScanDone() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: TCPPortScanner.h |
Declaration
void ScanDone(
BOOL bError,
BOOL bSpawnThread=TRUE);
DescriptionWe are done
Function Body
try
{
{
//Lock
CCriticalAutoRelease aRelease(m_pCSectionDone);
//What shell we do?
if (m_bDone ||
m_bFinished)
return;
//Set we are finished
m_bFinished=TRUE;
}
//Thread's data
ThreadData* pData;
pData=new ThreadData;
//Populate it
pData->bError=bError;
pData->pScanner=this;
//Do we have a thread
if (bSpawnThread)
{
//Spawn a thread
CGenericThread* pThread;
pThread=COSManager::CreateThread(DoneThread);
//Set to autodelete
pThread->SetAutoDelete(TRUE);
//Start it
pThread->Start((LPVOID)pData);
}
else
DoneThread((LPVOID)pData);
}
ERROR_HANDLER("ScanDone")
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. |