I like to know if the user is connecting either by WiFi or 3G.
Lets say you are using the chat example and it opens a socket connection, but then the user turns off WiFi or the WiFi drops connection. Is there a way to detect if the WiFi has dropped and they are now using 3G/4G.
And if they are connected using 3G/4G to a socket and then they connect to a WiFi network. Is there a way to then detect if they are now connecting by WiFi.
Or is B4i (or iOS) smart enough to know the connection is now connecting by another method and keep the connection alive ?