get info from client when closing #1878
Answered
by
miguelgrinberg
Ianyourgod
asked this question in
Q&A
-
Im trying to make a simple multiplayer game with this but I am having a problem figuring out how to tell the server that a person has disconnected. Can anyone help? |
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Sep 12, 2022
Replies: 1 comment 4 replies
-
When a client goes away your |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Ianyourgod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a client goes away your
disconnect
callback is automatically invoked in the server. You can userequest.sid
within this handler to know which client went away.