I started looking into node and socket.io.
I already have created a simple chat application and I am amazed at how easy it was.
Now, I would like to take a littl
Hej Thomas
if theres only 2 users talking you dont need use publish att all just send that message from the client to the server and let the server locate the other client and send it down.
If the only functionality you want is for two people to be able to send messages to one another (and not groups of people to have a room), then the logic could be something like this: