Disconnected detection on client

Hi Guys

Hoping you guys can help me out, i might be missing something obvious...

Question:
I want to be able to detect on the client side that he has been disconnected from the host(E.g. the host decides to call it quits and exits) killing the session for everyone involved. When i look at the disconnect parameter that gets called, i cant see any way of knowing from the properties that it was the server/Host that disconnected, i can only see what the remote endpoint is, how would i decide that it was the host who disconnected.

Scenario:
I want to detect if the host disconnects then attempt to reconnect the player to another hosted session automatically

Best Answer

Answers

Sign In or Register to comment.