Socket server with multiple clients, sending messages to many clients without hurting liveliness
- by Karl Johanson
I have a small socket server, and I need to distribute various messages from client-to-client depending on different conditionals.
However I think I have a small problem with livelyness in my current code, and is there anything wrong in my approach:
public class CuClient extends Thread
{
Socket socket = null;
ObjectOutputStream out;…