• Home
  • Explore

Introduction | Socket.IO

socket.io/docs/v4/

3 Users

0 Comments

14 Highlights

0 Notes

Tags

Top Highlights

  • Socket.IO は、クライアントとサーバー間の低遅延、双方向、イベントベースの通信を可能にするライブラリです。

  • HTTP ロング ポーリング

  • Socket.IO is not meant to be used in a background service for mobile applications.

  • high battery drain for your users.

  • HTTP long-polling in case the WebSocket connection cannot be established

  • That's why Socket.IO includes a heartbeat mechanism, which periodically checks the status of the connection

  • unaware of the broken state of the link

  • And when the client eventually gets disconnected, it automatically reconnects with an exponential back-off delay, in order not to overwhelm the server.

  • The packets are automatically buffered when the client is disconnected, and will be sent upon reconnection.

  • send an event and receive a response

  • Receiver

  • Sender

  • Broadcasting

  • send an event to all connected clients or to a subset of clients

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.

AboutPrivacyTerms

© 2023 Glasp Inc. All rights reserved.