You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
I need to check if timeout over more than 5000ms
some case when wifi/internet connection is already connected but wifi/internet isn't running
how can I check these case?
I try to check
var reachable = await connectivity.IsRemoteReachable("google.com", 80, 5000);
if(reachable){
// in these case if device can ping to google.com
// it returns true quickly it's not waiting for 5000 ms
// I need to delay 5000ms before return result status
}else{
// in these case if device can ping to google.com
// it returns false quickly it's not waiting for 5000 ms
}
I'm using Xam.Plugin.Connectivity 3.0.3
Xamarin.Android
VS 2017
The text was updated successfully, but these errors were encountered:
I need to check if timeout over more than 5000ms
some case when wifi/internet connection is already connected but wifi/internet isn't running
how can I check these case?
I try to check
var reachable = await connectivity.IsRemoteReachable("google.com", 80, 5000);
if(reachable){
// in these case if device can ping to google.com
// it returns true quickly it's not waiting for 5000 ms
// I need to delay 5000ms before return result status
}else{
// in these case if device can ping to google.com
// it returns false quickly it's not waiting for 5000 ms
}
I'm using Xam.Plugin.Connectivity 3.0.3
Xamarin.Android
VS 2017
The text was updated successfully, but these errors were encountered: