Chapter 12. Network Communication: WebSockets and XMLHttpRequest Level 2

HTML5 largely concerns itself with enhancements to the client. At the same time, however, some technologies for client/server communication have come to fruition and implementation. Technically, neither of the technologies in this chapter are part of HTML5, but they both bring important new functionality to web browsers and already enjoy reasonably wide support.

WebSockets is a new technology for enabling full-duplex (simultaneous, two-way) communications between web pages and servers, and is the first subject of this chapter. The WebSocket protocol and application ...

Get HTML5 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.