The project im working on, they would like active server connection detection before each call.
Im trying to find out if its better to use: WL.Device.getNetworkInfo:isNetworkConnected or WL.Client.connect
I know that getNetworkInfo only checks if the phone has contectivity to the net, while wl.client.connect will actually connect to the server. Im just afraid that wl.client.connect will be an expensive call to make before every invokeProcedure call. Is there a better way to check for connectivity before the invokeProcedure call?