Skip to content
EntityQ7552998· pop 12· linked from 16 articles

Socket.IO is an event-driven library for real-time web applications. It enables real-time, bi-directional communication between web clients and servers. It consists of two components: a client, and a server. Both components have a nearly identical API.

Key facts

Software.name
Socket.IO
Software.logo
socket-io.svg
Software.logo upright
yes
Software.author
Guillermo Rauch
Software.developer
Automattic
Software.programming language
JavaScript
Software.operating system
Cross-platform
Software.genre
Event-driven networking
Software.license
MIT License

via Wikipedia infobox

Source code

Link to the source-code README · 1,668 chars · not written by Vinony

Wikidata facts

Show 6 more facts
copyright license
MIT License
programmed in
JavaScript
software version identifier
4.7.2
source code repository URL
github.com/socketio/socket.io
operating system
cross-platform
Sources (8)

via Wikidata · CC0

Article · 中文

Socket.IO 是一个面向实时 的 JavaScript 库。它使得服务器和客户端之间实时双向的通信成为可能。他有两个部分:在浏览器中运行的客户端库,和一个面向Node.js的服务端库。两者有着几乎一样的API。像Node.js一样,它也是的. Socket.IO 主要使用WebSocket协议。但是如果需要的话,Socket.io可以回退到几种其它方法,例如Adobe Flash Sockets,JSONP拉取,或是传统的AJAX拉取,并且在同时提供完全相同的接口。尽管它可以被用作WebSocket的,它还是提供了许多其它功能,比如广播至多个套接字,存储与不同客户有关的数据,和。 可以使用npm(node 软件包)工具来安装。

Abstract from DBpedia / Wikipedia · CC BY-SA