about OnStatusChanged

ymlyjq
edited August 2013 in DotNet
hello ..

this question is about call OnStatusChanged func.

in pc, when i shutdown my photon server, client 's onStatusChanged can be called always;

but in some mobie, OnStatusChanged func was never called

why?
how can i do?

Comments

  • Probably you tested on the same PC? This is a special case, where Windows gives you a immediate result due to closed socket, where usually a timeout should happen.
    Wait up to 30 seconds on the mobile (or a remote pc) for the timeout when you shutdown the server.