Netprog 2002 - Client/Server Issues
14
TCP sockets programming
lCommon problem areas:
–null termination of strings. 
–reads don’t correspond to writes.
–synchronization (including close()).
–ambiguous protocol.
Not a problem with Java Strings.