![]() |
SendURL() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Private Function |
Declared in: WhoisSocket.h |
Declaration
BOOL SendURL(
const std::string& rURL);
DescriptionSend the URL
Function Body
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)
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. |