0 Replies - 10678 Views - Last Post: 31 May 2012 - 12:38 PM

#1 modi123_1  Icon User is online

  • Suitor #2
  • member icon

Reputation: 13954
  • View blog
  • Posts: 55,694
  • Joined: 12-June 08

[link] An Introduction To WebSockets (javascript)

Posted 31 May 2012 - 12:38 PM


An insightful look at something that may possibly change how client web app communication operates!


WebSockets are a new way for clients to communicate to servers and vice versa, without the overhead of an HTTP protocol. It uses its own protocol, which is defined by the IETF. The latest version is RFC 6455. Previous versions of the protocol proved to have some security issues so while they were implemented in a few browsers like Opera, they were not enabled by default. The newest version of the protocol seems have improved on these issue, and browsers are working on supporting that now.

Apart from having its own protocol, it also has an API which can be used by web applications to open and close connections and to send and receive messages. This is called the WebSockets API and is defined in a W3C Specification.


The latest version of the WebSocket Protocol (RFC 6455) is currently only supported by a couple of the major browsers (Chrome and Opera) right now.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1