Socket.IO

Library for realtime web applications From Wikipedia, the free encyclopedia

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

Original authorGuillermo Rauch
DeveloperAutomattic
Stable release
4.7.5[1] Edit this on Wikidata / 14 March 2024; 23 months ago (14 March 2024)
Written inJavaScript
Quick facts Original author, Developer ...
Socket.IO
Original authorGuillermo Rauch
DeveloperAutomattic
Stable release
4.7.5[1] Edit this on Wikidata / 14 March 2024; 23 months ago (14 March 2024)
Written inJavaScript
Operating systemCross-platform
TypeEvent-driven networking
LicenseMIT License[2]
Websitesocket.io Edit this at Wikidata
Repository
Close

Socket.IO is also a protocol,[4] where different complying implementations of the protocol can communicate with each other. The main implementation consists of two parts: a client that runs in the browser and a server for Node.js. Apart from the main implementation, there are multiple implementations, for example, the official Deno (JavaScript), C++, Java, Python, and Swift servers.

Socket.IO primarily uses the WebSocket protocol with polling as a fallback option, while providing the same interface.[5] Although it can be used simply as a wrapper for WebSockets, it provides many additional features such as heartbeats and timeouts.[5]

It can be installed with the npm (Node Package Manager).[6]

See also

References

Related Articles

Wikiwand AI