Implemented the TCP versions of the client and server applications.