From Wikipedia, the free encyclopedia
  (Redirected from
Jump to: navigation, search
Original author(s) Guillermo Rauch
Stable release 0.9.6 / April 17, 2012 (2012-04-17)
Development status Active
Written in JavaScript
Operating system Cross-platform
Type Event-driven networking
License MIT License[1]

Socket.IO is a JavaScript library for realtime web applications. It has two parts: a client-side library that runs in the browser, and a server-side library for node.js. Both components have a nearly identical API. Like node.js, it is event-driven.

Socket.IO primarily uses the WebSocket protocol, but if needed can fallback on multiple other methods, such as Adobe Flash sockets, JSONP polling, and AJAX long polling,[2] while providing the same interface. Although it can be used as simply a wrapper for WebSocket, it provides many more features, including broadcasting to multiple sockets, storing data associated with each client, and asynchronous I/O.

It can be installed with the npm (node packaged modules) tool.[3]

External links[edit]


  1. ^
  2. ^
  3. ^