Socket.IO

From Wikipedia, the free encyclopedia
  (Redirected from Socket.io)
Jump to: navigation, search
Socket.IO
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]
Website socket.io

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]

References[edit]

  1. ^ http://github.com/LearnBoost/socket.io/blob/master/LICENSE
  2. ^ http://socket.io/#browser-support
  3. ^ https://npmjs.org/package/socket.io