No IO exception reported for socket operation when the interface is removed
- by user352536
The wifi network is connected, the application setup a socket connection and exchange data with the remote server. But when turn off the wifi, the inteface is removed, while socket operation read/write on this socket is still like normal, no any IO exception reported. The application has to do some extra checking to avoid waiting for the data forever.
Is this the normal case for Android design? Is there any plan to fix it?