![]() |
SendURL() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: WhoisSocket.h |
BOOL SendURL( const std::string& rURL);
Send the URL
try { //Create the URL buffer char* pBuffer; pBuffer=new char[rURL.length()+10]; //Copy it rURL.copy(pBuffer,rURL.length(),0); //Set the enter pBuffer[rURL.length()]=10; //Send it int iSendSize; iSendSize=Send(pBuffer,rURL.length()+1); //Delete the string delete [] pBuffer; //Did we send it return iSendSize!=GetErrorCode(); } ERROR_HANDLER_RETURN("SendURL",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |