Now everything is ready for us to add the necessary methods to the SocketThread class. 1) Add a protected clientHandshake() throws IOException, ClassNotFoundException method. This method will represent the client to the server. It must: a) In a loop, use the connection field to receive messages.
Chat (part 16)