Thank you for replying. But, the connection is failing when I try to
reconnect with a new socket.
On Jun 28, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote:
You will need to reconnect if your socket connection is dropped due to
a change in connectivity, as your IP address will be different.
Based on what I'm seeing with my devices when switching from mobile
to WiFi, the broadcast for ConnectivityManager.CONNECTIVITY_ACTION with
State.CONNECTED (TYPE_WIFI) comes too early, the device isn't ready to
make connections over WiFi yet.
WiFi becomes fully usable a couple of seconds
You are lucky!
For me, it fails to connect every time on some attempts.
On Jul 5, 5:34 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Based on what I'm seeing with my devices when switching from mobile
to WiFi, the broadcast for ConnectivityManager.CONNECTIVITY_ACTION with
State.CONNECTED
3 matches
Mail list logo