A couple of month ago I discovered nowjs and dnode and finally used nowjs (and https://github.com/Flotype/nowclient) for client / server bidirectional communication.
nowclient enables nowjs communication between 2 node processes (instead of between a node process and a browser for nowjs out of the box). I was then able to send data from the client to the server and from the server to the client. I now use node 0.6.12 and it's kind of painful to use node 0.4.x to run the client.
I'm giving a closer look to dnode and I'm not really sure how the server to client communication is working. Is it possible that the server sends a direct message to the client ? The idea is to have a client to register on the server (at first connection) and enable the server to contact the client when it needs to.
From what I understand, calling a method on the server is possible if the client has requested something from the server at first place. Is that correct ?