title: Best solution for desktop - server real time connection
body: <p>We want to create client-server communication. I'm desktop programmer (Free Pascal - Lazarus IDE, C++ - QT) and my friend (server side) is php and ruby on rails programmer. I know that TCP is base solution but we want use some layer through which our language can communicate together. We found Websockets and ActiveMQ but exists something else? There is also SOAP but it doesn't have "push" from server.</p>
  
  <p>Regards</p>