Because the server can work with multiple clients simultaneously, we're going to need a method to send a message to everyone all at once. Add the following to the Server class: 1) A static Map<String, Connection> connectionMap field, where the key is the client name.
Chat (part 7)
You must be signed in to leave a comment
This page doesn't have any comments yet