Socket.IO

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Infobox/styles.css has no content.

Socket.IO
[[Programmer|Original authorTemplate:Pluralize from text]]Guillermo Rauch
[[Programmer|DeveloperTemplate:Pluralize from text]]Automattic
Template:Infobox software/simple
Written inJavaScript
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemCross-platform
TypeEvent-driven networking
LicenseMIT License[1]
WebsiteLua error in package.lua at line 80: module 'Module:If preview' not found.
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

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

Socket.IO is also a protocol,[3] 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.[4] Although it can be used simply as a wrapper for WebSockets, it provides many additional features such as heartbeats and timeouts.[4]

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

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."socket.io/LICENSE at master · socketio/socket.io · GitHub". GitHub. 20 January 2023.
  2. ^ Page Module:Citation/CS1/styles.css has no content.Prusty, Narayan (2016-07-25). Modern JavaScript Applications. Packt Publishing Ltd. p. 103. ISBN 978-1-78588-027-8.
  3. ^ Page Module:Citation/CS1/styles.css has no content."Socket.IO Protocol". GitHub. Retrieved May 26, 2023.
  4. ^ a b Page Module:Citation/CS1/styles.css has no content.Ihrig, Colin J. (2014-01-18). Pro Node.js for Developers. Apress. p. 213. ISBN 978-1-4302-5861-2.
  5. ^ Page Module:Citation/CS1/styles.css has no content."socket.io". npmjs.org. 31 May 2023.
  • Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
  • socket.io on GitHub


Template:Asbox