![]() |
OnSocketConnect() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: WhoisSocket.h |
Declaration
virtual BOOL OnSocketConnect(
int iErrorCode);
Function Body
try
{
//Do we have an error
if (iErrorCode)
{
//Report it
ReportError("OnSocketConnect",iErrorCode);
//We are done
QueryDone(TRUE,
TRUE);
//Exit
return FALSE;
}
//Send the URL
if (!SendURL(m_sDataToSend))
{
//Report it
ReportError("OnSocketConnect","Failed to send data!");
//We are done
QueryDone(TRUE,
TRUE);
//Exit
return FALSE;
}
//Set the timeout
SetTimeout(m_dwTimeout);
//Done
return TRUE;
}
ERROR_HANDLER_RETURN("OnSocketConnect",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. |