TBlockSocket.RecvBlock
TBlockSocket
function RecvBlock(Timeout: Integer): string; virtual;
Unit
blcksock
Description
Read one block of data from socket.
Each block begin with 4 bytes with length of data in block. This function read first 4 bytes for get lenght. then it wait for reported count of bytes.
See also:
RecvBuffer, RecvBufferEx, RecvBufferFrom, RecvBufferStr, RecvByte, RecvPacket, RecvStream, RecvString, RecvTerminated, SendBlock