![]() |
SocketClosing() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: AsyncSocket.h |
Declarationvoid SocketClosing();
DescriptionClose the timeout if needed
Function Body
try
{
//Are we valid
if (m_bClosing ||
GetAsyncHandle()==INVALID_SOCKET)
return;
//Indicate we are closing
m_bClosing=TRUE;
//Do we have a regular timer
if (m_bTimeout)
KillTimer();
//Do we have a system timer ?
if (m_aTimerID.iTimerID)
KillSystemTimer();
//Kill all the messages
m_iMsg=0;
m_lEvent=0;
//Set it
if (WSAAsyncSelect(GetAsyncHandle(),
GetWindowHandle(),
0,
0))
SetLastError("SocketClosing");
}
ERROR_HANDLER("SocketClosing")
See Also
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. |