function Read(var Buffer; Count: integer): integer; overload;
function Read(var Buffer: TBytes; Offset, Count: integer): integer; overload;
Description
Reads Count bytes from the stream of peer data into Buffer. Read returns the count of bytes that were actually read.
If the size of the received data is less than Count bytes, Read waits the amount of time specified in the ReceiveTimeout property, and then returns control.
See Also