Ok, so now ive got a server and 2 clients connected to it. On the server, i have data structures that hold the port and IP addresses of the clients and I guess a combination of these two can be used to differentiate the clients.

now these clients are communication with the server. they input numbers, which go to the server and get stored in another datastructure.

THE QUESTION

if client 1 inputs 1, i got to inform client 2 that client 1 has input 1

the server is multithreaded offcourse.
in other words, i want to send a message from one client to another, please help.

note that i have got the clients getInetAddress and port numbers