I am developing an app on the iOS platform which would involve a lot of iPads simultaneously working on a file on a server, using online collaboration like in google docs. However, it needs to update in realtime. Therefore, I think the best way to do this would be for the server to communicate with each iPad every time there is a change in the document.
Unfortunately, to my knowledge, the only way for a server to communicate with an iPad is if the iPad first requested info from the server (HTTP GET or POST). Since I want realtime updating, and I don't want the iPad asking the server every nanosecond whether ether is an update, this doesn't work.
How can I program the server to communicate with the iPad without first requiring a request from it? All help is greatly appreciated.