This program implements an echo TCP server and client in Java.