Socket.io is nice but it requires nodejs at server side that I'm unable to use right now for some reasons. Is there any python/php alternative available?
The best Python alternative looks like TornadIO:
https://github.com/MrJoes/tornadio
Does the same stuff as Socket.IO, but in Python. Probably not as widely used as Socket.IO, but it looks really nice.
http://socket.io/