![]() |
SendRaw() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: TCPSocket.h |
virtual int SendRaw( unsigned short usSourcePort, const std::string& rDestinationAddress, unsigned short usDestinationPort, const char* pBuffer, unsigned long ulBufferLength, unsigned char ucFlags=0);
Send it by address Positive - The number of bytes received. Zero - Socket has been closed. Negative - Error
try { //Quit if not ok if (!CheckSocketValid()) return FALSE; return SendRaw(usSourcePort, StringToLong(rDestinationAddress), usDestinationPort, pBuffer, ulBufferLength, ucFlags); } ERROR_HANDLER_RETURN("SendRaw",GetErrorCode())
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |