![]() |
SocketClosing() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: AsyncSocket.h |
void SocketClosing();
Close the timeout if needed
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")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |