![]() |
OnSocketConnect() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: WhoisSocket.h |
virtual BOOL OnSocketConnect( int iErrorCode);
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)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |