Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Socket.IO

From Wikipedia, the free encyclopedia
Library for realtime web applications
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-drivennetworking
LicenseMIT License[2]
Websitesocket.ioEdit this at Wikidata
Repository

Socket.IO is anevent-driven library for real-timeweb applications. It enables real-time, bi-directionalcommunication betweenweb clients and servers.[3] It consists of two components: aclient, and aserver. Both components have a nearly identicalAPI.

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 thebrowser and a server forNode.js. Apart from the main implementation, there are multiple implementations, for example, the officialDeno (JavaScript),C++,Java,Python, andSwift servers.

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

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

See also

[edit]

References

[edit]
  1. ^"Release 4.7.5". 14 March 2024. Retrieved25 March 2024.
  2. ^"socket.io/LICENSE at master · socketio/socket.io · GitHub".GitHub. 20 January 2023.
  3. ^Prusty, Narayan (2016-07-25).Modern JavaScript Applications. Packt Publishing Ltd. p. 103.ISBN 978-1-78588-027-8.
  4. ^"Socket.IO Protocol".GitHub. RetrievedMay 26, 2023.
  5. ^abIhrig, Colin J. (2014-01-18).Pro Node.js for Developers. Apress. p. 213.ISBN 978-1-4302-5861-2.
  6. ^"socket.io".npmjs.org. 31 May 2023.

External links

[edit]


Stub icon

ThisWeb-software-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Socket.IO&oldid=1267065024"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp