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

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

void CClientSocket::Stop();

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

try
{
    //Which socket are we
    if (m_bIncoming)
    {
        //Take the socket
        CClientSocket* pSocket;
        pSocket=m_pSocket;
        m_pSocket=NULL;

        //Stop the other socket
        pSocket->Stop();
    }
    else
        m_pSocket=NULL;

    //Post a delete
    DeleteSocketFromThread();
}
ERROR_HANDLER("Stop")

'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.