Read a single byte of data from the client.
Syntax
object.ReadByte( Handle )
Parameters
- Handle
- An integer value that specifies the handle to the client
session.
Return Value
The integer value of the byte read from the socket. If an error
occurs, the method will return a value of -1 and the program should
check the value of the LastError property to determine the
specific cause of the error.
Remarks
The ReadByte method returns one byte of data that has been
read from the client socket specified by the Handle argument.
If no data is available to be read, the
program will wait until a byte of data is returned by the server or
the connection is closed.
See Also
|