RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseSocket.ReceiveBuf Method

Reads data buffers of to the socket.

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

ReceiveBuf reads 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 read. The flags argument can be any of the flags used by the Linux recv function. Refer to recv(2) in the Linux manual pages for more information. 

 

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