I made a simple chat application that connects the server and client using the thread. I want to send a message to all active clients. how to send a message to the list of active threads? I use the method flush () but failed to send message to all active clients I found a method to display the thread list in google as follows:I made a simple chat application that connects