@widget Web sockets, flash sockets, then falling back to long polling if neither of those are available. (Basically socket.io in a nutshell)