Hi, im trying to create a simple chat application with a client gui and server dispatching messages but it dosnt seem to send message through socket. Im new to networking so maybe someone knows whats the problem.
here is the code: https://gist.github.com/anonymous/78d2c2afd5bc28668fed

The problem seems to be in clientManager run method. I have access to all the incoming messages and can print them but i cannot send it back to all sockets connected that i put in an arrayList.

Im not trying to refactor here so maybe you will think this is a mess...