215 Views
This post explains how to do polling with jQuery. Using traditional methods of polling, the connection to the server is lost. With jQuery long polling, the connection to the server is maintained throughout the poll. WebSockets is a future alternative that provide push-type data. This post also explains a bit of how WebSockets work.
2 comments
dpeterson
10/19/2011 8:44:05 AM
Nice article, he made sure to go over the problems with setInterval, and touched on using Socket.IO for websockets.
bradygaster
10/20/2011 6:05:30 AM
Agreed. this was pretty neat. Nice to see some other methods of doing polling to make me love SignalR more and more. :)