Socket.io

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.

Socket.IO
Original author(s)Guillermo Rauch
Developer(s)Automattic
Stable release
4.7.2 / August 2, 2023 (2023-08-02)
Repository
Written inJavaScript
Operating systemCross-platform
TypeEvent-driven networking
LicenseMIT License
Websitesocket.io

Socket.IO is also a protocol, 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 , and Swift servers.

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

It can be installed with the Node Package Manager (NPM).

See also

References


Tags:

Application programming interfaceClient (computing)Event-driven architectureServer (Computing)Web applicationWeb client

🔥 Trending searches on Wiki English:

National Basketball AssociationEmmett TillWrexham A.F.C.John Wick (film)Uhtred of BamburghFC BarcelonaNarendra ModiThe MandalorianCreed IIIGame of ThronesAadhaarStar WarsEric ClaptonDennis Cleveland StewartAlexander SkarsgårdList of World Snooker Championship winnersJohnny DeppSuzumeGuardians of the Galaxy Vol. 3Mukhtar AnsariGuardians of the Galaxy (film)Harrison FordAmerican Civil WarTimothée Chalamet2023 Cricket World CupSalma HayekKyle SandilandsWoody Harrelson2023 NBA playoffsEverything Everywhere All at OnceFakhar Zaman (cricketer)XNXXJSON-LDEminemNick HerbigBrittney GrinerShrek (franchise)List of countries by GDP (nominal)Joey PorterDonte DiVincenzoJerry SpringerBrendan FraserHayden PanettiereManchester City F.C.2023 World Snooker ChampionshipIOSCarroll ShelbyRenfield (film)Don LemonVallavaraiyan VandiyadevanEnglish languageJalin HyattMani RatnamInternational Workers' DayJake MoodyUnited KingdomKenneth Lofton Jr.Samantha Ruth PrabhuThe Rookie (TV series)2023 Mutua Madrid Open – Men's singlesSai Pallavi2 Girls 1 CupLamine YamalRRR (film)Tracy PollanChris KyleYouTubeDillon BrooksAl PacinoJulie AndrewsZooey DeschanelNeal MohanRobert De NiroJalen CarterBrij Bhushan Sharan SinghShameless (American TV series)Stone of Scone🡆 More