If you need bidirectional communication and if the data is a small fragment use sockets
If you want the best performance
When Client is waiting for notifications/events from server
Remoting is a higher layer on Sockets. When both client and server is under your control you can use Remoting
If you want the best performance
When Client is waiting for notifications/events from server
Remoting is a higher layer on Sockets. When both client and server is under your control you can use Remoting