Read the next byte received from the server the client is connected to (after the last call to read()).
read() inherits from the Stream utility class.
The next byte (or character), or -1 if none is available.
flush() Waits until all outgoing characters in buffer have been sent.
flush() inherits from the Stream utility class.