Class CTCPRelay::
CClientSocket::OnSocketClose()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CClientSocket::ConnectNext page: CClientSocket::OnSocketConnect    Show member index
Private Function
(Not Declared)
Declared in:
TCPRelay.h

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

BOOL CClientSocket::OnSocketClose(
    int iErrorCode);

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

try
{
    //Remove the connection
    m_pFather->RemoveConnection(m_aConnectionID);

    //Delete other socket
    m_pSocket->DeleteSocketFromThread();
    m_pSocket=NULL;

    //Delete ourselves
    DeleteSocketFromThread();

    //Done
    return TRUE;
}
ERROR_HANDLER_RETURN("OnSocketClose",FALSE)

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

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