Class CSpoofBase::
ShutdownSockets()
Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: SetNameNext page: Custom Code in Header Before Includes    Show member index
Public Function Declared in:
SpoofBase.h

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

static BOOL ShutdownSockets();

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

Shutdown the sockets

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

//Only if initialized
if (!m_Initialized)
    return TRUE;

try
{
    delete m_pCSection;

    //Notify shutdown class
    if (m_pShutdownClass)
    {
        m_pShutdownClass->NotifyShutdown();
        delete m_pShutdownClass;
    }

#ifdef WIN32
    if (WSACleanup()==SOCKET_ERROR)
        return FALSE;
#endif

    m_Initialized=FALSE;
    return TRUE;
}
catch (...)
{
    return FALSE;
}

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

Class Overview Class Overview  |  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 © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.