![]() |
OnSocketClose() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: WhoisSocket.h |
Declaration
virtual BOOL OnSocketClose(
int iErrorCode);
Function Body
try
{
//Kill the timeout
KillTimer();
//Close the socket
if (!Close())
ReportError("OnSocketClose","Failed to close socket!");
//Recreate it
if (!Create())
{
//Report it
ReportError("OnSocketClose","Failed to create socket!");
//Exit
return FALSE;
}
//We are done
QueryDone(FALSE,
FALSE);
//Done
return TRUE;
}
ERROR_HANDLER_RETURN("OnSocketClose",FALSE)
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. |