internet-connection Questions

10

I have a Unity project which I build for Android and iOS platforms. I want to check for internet connectivity on Desktop, Android, and iOS devices. I've read about three different solutions: Ping...
Anthemion asked 7/12, 2015 at 16:42

28

Solved

What is the fastest and most efficient way to check for Internet connectivity in .NET?
Annotation asked 9/1, 2010 at 0:48

28

Solved

What is the fastest and most efficient way to check for Internet connectivity in .NET?
Slipcase asked 9/1, 2010 at 0:48

28

Solved

What is the fastest and most efficient way to check for Internet connectivity in .NET?
Farrica asked 9/1, 2010 at 0:48

28

Solved

What is the fastest and most efficient way to check for Internet connectivity in .NET?
Peephole asked 9/1, 2010 at 0:48

34

Solved

I have a network call to be executed. But before doing that I need to check whether the device have internet connectivity. This is what i have done so far: var connectivityResult = new Connectiv...
Faulty asked 4/4, 2018 at 9:53

17

Solved

I need to tell if my device has Internet connection or not. I found many answers like: private boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) get...
Recrystallize asked 27/6, 2011 at 13:23

17

Solved

I need to tell if my device has Internet connection or not. I found many answers like: private boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) get...
Titograd asked 27/6, 2011 at 13:23

12

Solved

I am trying to check Internet connectivity on Android using the following method. I have a Wi-Fi connection. private boolean checkInternetConnection() { ConnectivityManager cm = (ConnectivityMana...
Cocytus asked 14/12, 2011 at 5:21

23

Solved

How can I detect if the internet connection is offline in JavaScript?
Composite asked 9/10, 2008 at 22:23

31

Solved

I want to execute my application offline also, so I need to check if currently an internet connection is available or not. Can anybody tell me how to check if internet is available or not in androi...
Attribution asked 29/3, 2011 at 14:24

5

Solved

I'm using this method to ping google server so I can check for active internet connection but I discovered that it doesn't work on all devices. I've tried using other methods like HttpURLConnectio...
Jovial asked 2/3, 2018 at 5:58

14

Solved

How can I check if I'm connected to the internet from my PHP script which is running on my dev machine? I run the script to download a set of files (which may or may not exist) using wget. If I tr...
Damaris asked 1/2, 2011 at 8:29

1

I am building an app where the connection to a 2nd device is the essence. Therefore, I used the WifiNetworkSpecifier API. However, the application must be able to automatically reconnect to the tar...

7

Solved

Just asked how to check if an internet connection exists using javascript and got some great answers. What's the easiest way to do this in Ruby? In trying to make generated html markup code as clea...
Dhyana asked 5/3, 2010 at 7:30

1

I'm using Docker Desktop for Windows, running a couple of linux containers using docker-compose. These containers communicate with each other inside their own Docker network. One of the containers ...
Potion asked 19/11, 2020 at 15:3

8

I want to check programmatically whether there is an internet connection in Android phone/emulator. So that once I am sure that an internet connection is present then I'll make a call to the intern...

1

I am building a network monitor app. Here I have successfully implemented all the things like track data usage from Wifi or mobile data, but I want to know which SIM is connected to internet and co...

11

How can I check for an internet connection constantly in my application and respond if the connection is not available? Currently I am using: while(true) { if(HasConnection()) { //doSomething.....
Meany asked 26/6, 2011 at 3:27

5

in my app i am checking that if mobile data is off its showing the popup like check your data connection. for that i write this code import Foundation import SystemConfiguration public class Rea...
Franciscofranciska asked 20/6, 2016 at 9:47

15

How do I find out the ISP provider of a person viewing a PHP page? Is it possible to use PHP to track or reveal it? If I use something like the following: gethostbyaddr($_SERVER['REMOTE_ADDR']);...
Reimport asked 13/5, 2009 at 3:43

12

Solved

For iOS 9 I was using Reachability public class to check wether the device is connected to the internet or not. I converted my Swift 2 code to Swift 3, and the Reachability doesn't work anymore. Ca...
Curarize asked 18/9, 2016 at 14:41

10

Solved

According to the Android developer site, Determining and Monitoring the Connectivity Status, we can check there is an active Internet connection. But this is not working if even only Wi-Fi is conne...
Valeta asked 5/7, 2017 at 6:12

1

As far as I understand Alamofire is pulled in with built in Reachability, so my own handler would look something like: import Alamofire let reachabilityManager = NetworkReachabilityManager() reac...
Pollypollyanna asked 25/10, 2017 at 12:27

16

Solved

I know this question will appear to be a dupe of many others, however, I don't feel the simple case is well explained here. Coming from an Android and BlackBerry background, making requests through...

© 2022 - 2024 — McMap. All rights reserved.