![]() |
CClientSocket::OnSocketConnect() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function (Not Declared) |
Declared in: TCPRelay.h |
BOOL CClientSocket::OnSocketConnect( int iErrorCode);
try { //Do we have an error if (iErrorCode) { //Delete the other socket m_pSocket->DeleteSocketFromThread(); m_pSocket=NULL; //Delete ourself from our thread DeleteSocketFromThread(); //Done return FALSE; } //We are connected //Create the connection m_aConnectionID=m_pFather->NewConnection(m_pSocket, this); //Set the other socket's ID m_pSocket->SetConnectionID(m_aConnectionID); //Done return TRUE; } ERROR_HANDLER_RETURN("OnSocketConnect",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |