This question shows research effort; it is useful and clear
5
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
net moduleを使用したソケットタイムアウト方法について読んでいます。しかし、 socket.ioモジュールに同様のメカニズムがあり、ユーザーの非アクティブ(たとえば、ソケットを介した10分間の非アクティブ)を検出して、サーバー側でこのセッションでいくつかのアクションを実行するか、このイベントを他のユーザーに通知するかどうかを知りたいですユーザー。