![]() |
SendRaw() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: TCPSocket.h |
Declaration
virtual int SendRaw(
unsigned short usSourcePort,
const std::string& rDestinationAddress,
unsigned short usDestinationPort,
const char* pBuffer,
unsigned long ulBufferLength,
unsigned char ucFlags=0);
DescriptionSend it by address Positive - The number of bytes received. Zero - Socket has been closed. Negative - Error
Function Body
try
{
//Quit if not ok
if (!CheckSocketValid())
return FALSE;
return SendRaw(usSourcePort,
StringToLong(rDestinationAddress),
usDestinationPort,
pBuffer,
ulBufferLength,
ucFlags);
}
ERROR_HANDLER_RETURN("SendRaw",GetErrorCode())
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. |