A Java application that receives messages from a socket and displays the message in the terminal