An exercise in socket programming using Java.