RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseSocket.SendBuf Method

Writes data buffers of size bufsize from the socket.

Pascal
function SendBuf(var Buf; BufSize: Integer; Flags: Integer = 0): Integer;
C++
__fastcall int SendBuf( Buf, int BufSize, int Flags = 0);

SendBuf sends data buffers of size bufsize to the socket. Use buf to assign a variable to the buffer, and use bufsize to set the size of the buffer to be sent. The flags argument can be any of the flags used by the Linux send function. Refer to the send Linux manual page for more information. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!