Questions tagged [internet-connection]

Anything related to the hardware, software tools and techniques needed to establish and manage an Internet connection.

Anything related to the hardware, software tools and techniques needed to establish and manage an Internet connection.

463 questions
4
votes
1 answer

How to implement a test that checks the reliability of the internet connection

I am working on a project that needs to test some feature of android and mobile networks. one of them is to check Reliability of the internet connection to do that i should first check the Internet connection itself and then check the Reliability Is…
Martin
  • 429
  • 3
  • 18
4
votes
4 answers

Detect if android device is connected to the internet

this is my class that checks if the device is connected to the internet. import android.app.Activity; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; import…
Caesar Krit
  • 204
  • 4
  • 19
4
votes
3 answers

Android: Force close the app in Application class

I have a class which extends Application class. In this class I am checking Internet Connectivity and calling the web service. Below is the method I am using to check: public static boolean isInternetConnected(Context mContext) { …
Nitesh Kumar
  • 5,370
  • 5
  • 37
  • 54
3
votes
2 answers

How can I bind TCPListener to an external IP address?

I have a client/server style application which communicates using WCF which all works great. One function of the application is to get files from client machines onto the server (Central Control). The Central Control requests a list of file in a…
Hooloovoo
  • 2,181
  • 3
  • 16
  • 21
3
votes
2 answers

Check availability of Internet Connection + Communicate between 2 threads

I have 2 questions: How can I check if Internet connection is whether turned on or turned off? I'm using Html Unit and I'm working on Windows. I want to make a JLabel that states the availability of internet connection in my JFrame. Something…
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
3
votes
2 answers

How to connect the default dialup in XP or seven Using C#?

I have a dialup connection in my system namely "Personal Internet Movil" and i need to connect and disconnect this connection using C#.
The Mask
  • 17,007
  • 37
  • 111
  • 185
3
votes
1 answer

Flutter How can I check internet connection through the whole app NOT only in one particular Class, and prompt pop-up dialog when it lost?

How can I continuously check internet connection for whole application(I mean all classes and widgets) and prompt the pop-up dialog when the connection is lost. Please provide an example if it is possible.
Rock
  • 511
  • 2
  • 7
  • 18
3
votes
2 answers

Internet doesn't work on my android emulator?

I'm developing a flutter app, I'm using Intelji as my IDE and Pixel_2_API_28 as my emulator, Everything working perfectly 2 days before and My internet connection is perfect and fast, I did not change anything in my connectivity or nothing else.…
FGH
  • 2,900
  • 6
  • 26
  • 59
3
votes
0 answers

okhttp websocket connection handling with varying internet

I am working on an app which has a chat feature which i have done using Rocket chat websocket. I have used okhttp connection to connect with rocket chat connection. The app and the connection works perfectly in the chat activity. I want the…
3
votes
4 answers

Handling Internet Connection: Special Case

Lets say there is two mobile A and B. Turn on the hotspot of Mobile A, and connect the Mobile B. Now turn off the Mobile Data of Mobile A. For Mobile B, there is a network available but it won't be able to connect because the Mobile Data is off in…
Aman Shekhar
  • 2,719
  • 1
  • 18
  • 29
3
votes
2 answers

Determine in php script if connected to internet?

How can I check if I'm connected to the internet from my PHP script which is running on my dev machine (not on a server somewhere)? I run the script to download a set of files (which may or may not exist) using wget. If I try the wget download…
Steve
  • 1,857
  • 5
  • 32
  • 45
3
votes
3 answers

minikube install package using toolbox but the container does not internet conexion

I'm wondering how can install a package inside the minikube VM. I need some tools. I have tried the /bin/toolbox container, but It does not have internet conexion. [root@docker-fedora-24 ~]# dnf update --verbose cachedir: /var/cache/dnf DNF version:…
Jorgese
  • 551
  • 6
  • 14
3
votes
2 answers

Internet Connectivity Listener in Xamarin.Forms

I am new in Xamarin.Forms and I want to check internet connectivity status in iOS and Android app. In fact using CrossConnectivity Plugins I am able to check internet connectivity successfully but It is not working as Listener. For example, When I…
Dipak
  • 1,199
  • 4
  • 21
  • 43
3
votes
1 answer

XCTestCase with internet connection case

I'm writing an app that has separated functions when online and offline. In those function, I use Reachability to check internet connection and with each case (online/offline), it does different works. Now, I've been required to write test cases for…
Eddie
  • 1,903
  • 2
  • 21
  • 46
3
votes
2 answers

Unable to connect to bioconductor website

I run RStudio (0.99.878) with R Version R-3.2.3 on Windows 7. When I try to install packages from bioconductor with the following command I get an error message: source("http://bioconductor.org/biocLite.R") Error in file(filename, "r",…
SaRiSta
  • 41
  • 3