![]() |
ShutdownSockets() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: SpoofBase.h |
Declarationstatic BOOL ShutdownSockets();
DescriptionShutdown the sockets
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
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. |