websocket-sharp
websocket-sharp copied to clipboard
onClose method gets invoked very late
Hi sta,
thanks for sharing this library
I would like to detect if internet connection get lost on client side, the scenario like following;
1- internet connection stable and everything works fine 2- i turn off wireless conn and wait for onClose method get invoked 3- And It never gonna happen 4* but if i invoke Ping() after internet connection lost and wait prox. 20 sn, onClose method works normally. But i need that detection in just few seconds, whats is the best strategy for that?
thanks.
hi man, how do you solve this trouble? it's very actual problem