I have little doubt about the network connection procedure in Android.
My scenario is similar, I am connecting to a remote server via TCP using 3G. After he connected, I turned on Wi-Fi. Android switched to WiFi. And, still a live connection to the server means there is no connection.
Here I want to know one thing. When N / W switches from 3G to Wi-Fi, will the Android (or any other) device change its IP address? and if he changes his IP address, will this previous connection be valid? (This means that a new connection should appear on the new IP address again.)
Thanks in advance.
source
share