I use the Unitt-Websocket in an Android project and mostly it works
just fine but I've noticed an odd behavior: When I switch from mobile
to wifi network the socket goes down but the onError is not called. A
simple test shows that the socket can not send messages any more.
However, if I go the opposite way and switch from wifi to mobile the
socket also goes down but that time the onError is called. Do you guys
have an explanation for why there is a difference here? I have only
been able to test this on my real android phone and not on the
emulator.
Thanks for help!
/Kristian
As a side note: I will see if I can test if the socket goes down if
the mobile network switches between for example 3G and H or H+.
/Kristian