HTML5 and WebSockets

Today, we will talk about HTML5 and will study the protocol that has been the most successful: WebSocket. This protocol allows for a permanent bi-directional connection between a client and a server, in order to solve some of the problems caused by the unidirectional and disconnected nature of the HTTP protocol.

WebSocket thus allows the development of real-time applications such as news sites or stock market monitoring, or multi-user applications (chat, online games, etc.).

The specification allowing to use WebSocket is developed by the W3C, while the communication protocol is standardized by the IETF.

Read more