My program is a server and it has two clients connected to it. Each client connected to the server is a separate thread.

I need somehow to be able to send a message from clientA to clientB and vise-versa, remember clientA and clientB are different threads.

How could I do this ?