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
6
votes
5 answers

How can i check mobile data or wifi is on or off. ios swift

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 Reachability { class func isConnectedToNetwork() ->…
Jack.Right
  • 974
  • 3
  • 14
  • 30
6
votes
0 answers

Developing an iOS app without an internet connection?

I am developing an iOS app and I have just found myself in a situation where my internet connection cut out and now that it is back it is spotty. When deploying XCode complains "process launch failed: security", which means I am not able to continue…
Andre M
  • 6,649
  • 7
  • 52
  • 93
6
votes
1 answer

Determine whether iPhone is really connected to the internet or just behind a restricted hotspot

I'm having quite a lot of trouble on identifying rigorously the kind of network access an iPhone has. I have seen many questions like this one on StackOverflow but none of them helped me. For example I have already seen this: How to check for an…
6
votes
1 answer

Consuming a web service through an internet proxy server, using a WCF client in C#; providing proxy server authentication

I have a client program that consumes a web service. It works quite well in a number of installations. Now I have a situation where a new customer connects to the internet via a proxy server, and my program's attempt to access the web service gets…
Peter
  • 1,292
  • 4
  • 15
  • 33
5
votes
2 answers

Checking if there is an active internet connection iPhone situation

I would like to check to see if the user has an active internet connection. This is how I have implemented it. It seems to work fine but the problem is it ALWAYS shows that there is no connection on my iPhone simulator (uialert comes up) even when…
Teddy13
  • 3,824
  • 11
  • 42
  • 69
5
votes
0 answers

Is it possile to find out if a connection is metered or not?

I'm using Delphi XE2. I want to know, is it possible to check if the current connection is metered or not? I just looked in the Registry, where I found the DefaultMediaCost, but when I toggle the connection to metered nothing changed in this…
Hunt3r
  • 51
  • 2
5
votes
1 answer

Connecting the Raspberry Pi 3 with a 3G dongle (Qualcomm Modem)

I recently bought a 3G dongle for a project I'm working on. I want my Raspberry Pi to be able to receive SMS messages and respond to them. I got a HSDPA 3g dongle with a 7.2mbps connection. I've set up the dongle on Windows with an A1 (not sure if…
anthrx
  • 161
  • 1
  • 3
  • 12
5
votes
0 answers

Visual Studio 2015 Android Emulator internet connection problems

I've gone through dozens of different solutions to this problem already, yet I am still unable to solve it. I just recently installed the Visual Studio Android Emulator. It runs fine and applications get deployed successfully and everything is as…
5
votes
1 answer

How to check Internet connection using Inno Setup

I'm learning about Inno Setup to make a simple installer. I need to download a file from a website during the installation, so it's important check if there is Internet connection. How can I check or take some alert to connect Internet during the…
5
votes
1 answer

Programmatically changing Control Panel network options to connect to VPN

Possible Duplicate: Programmatically changing Control Panel network options to connect to VPN I offer a VPN service to my users, and a lot of them complain that it's a hassle to set up a new VPN connection and switch to it every time they want to…
Kratz
  • 487
  • 2
  • 6
  • 13
5
votes
3 answers

What is the difference between Internet API and Internet protocols?

I am going through a Computer Networking books that defines Internet API as the "set of rules" defined by Internet through which data is transferred from one end-user to another. Protocols are again defined in the very same manner, but it makes me a…
mfs
  • 3,984
  • 6
  • 32
  • 51
5
votes
4 answers

Windows Phone 8.1: Check Internet Connection

How can I know if the phone has internet connection? (Whether WiFi or Data) Sometimes the phone is connecting to WiFi without internet connection like HotSpots. So I want a code to know if the phone is connecting to internet.
Vahid
  • 3,384
  • 2
  • 35
  • 69
4
votes
3 answers

ConnectivityManager missing when a VPN is connected

i have a function that returns connectivity state of device and it works fine all the time except when device is connected to the VPN , it gives false Positive when network is not available fun isConnected(): Boolean { var result =…
4
votes
2 answers

iOS: How to test Internet connection in the most easy way, without freezing the app (without Reachability)?

In my code I used to use three ways for checking Internet, but there is limits to them: 1/ Reachability method: - (BOOL)isInternetOk { Reachability *curReach = [Reachability reachabilityWithHostName:@"apple.com"]; NetworkStatus netStatus =…
4
votes
1 answer

IOS/Objective-C: Fastest way to check for Internet connection - 2017

My code for checking for an Internet connection, I discovered yesterday on an airplane, is excruciatingly slow. I am using the technique in many older SO answers of checking an NSUURL, however, it literally took fifteen seconds or more to return…
zztop
  • 701
  • 1
  • 7
  • 20