Socket.IO

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Socket.IO
Original authorGuillermo Rauch
DeveloperAutomattic
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inJavaScript
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    TypeEvent-driven networking
    LicenseMIT License[1]

    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

    [edit | edit source]

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

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]
    • Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
    • socket.io on GitHub