Create a loop in the server and client code so that once a connection is established, a continuous chat can be held.