![]() |
CTCPScanner::OnSocketConnect() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function (Not Declared) |
Declared in: TCPPortScanner.h |
BOOL CTCPScanner::OnSocketConnect( int iErrorCode);
try { //Do we have an error if (iErrorCode || !m_iDataSize) { //Notify father m_pFather->SocketDone(m_usPort, iErrorCode==0); //Delete ourselves DeleteSocketFromThread(7000); //Done return TRUE; } //Set the timeout if (!SetTimeout(m_dwTimeout)) { //Report it ReportError("OnSocketConnect","Failed to set timeout!"); //Notify father m_pFather->SocketDone(m_usPort,TRUE); //Delete ourselves DeleteSocketFromThread(7000); } //Exit return TRUE; } ERROR_HANDLER_RETURN("OnSocketConnect",TRUE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |