I am looking to write an app that receives pushed alerts from a server. I found a couple of methods to do this.
or....
3) Keep a connection to the server, send keep-alives every few minutes, and the server can push messages instantly. This is how Gmail, Google Talk, etc. works.