Xbasic
INET::Socket::ReadBinary Method
Syntax
Result_Flag as L = ReadBinary(Data BYREF as B [, Length as N [, Timeout as N [, ReadExact as L]]])
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- Data
The data received from the connection.
- Length
Optional. Default = -1 (no limit). The number of bytes to read.
- Timeout
Optional. Default = -1 (no timeout). The number of seconds before the method returns.
- ReadExact
Logical
Description
The INET::Socket::ReadBinary() method reads bytes from socket into a blob variable.
See Also