Netprog 2002 - Client/Server Issues
TCP Reads
lEach call to read() on a
TCP socket returns any available data (up to a maximum).
lTCP
buffers data at both ends of the connection.
lYou
must be prepared to accept data 1 byte at a time from a TCP socket.