Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

What is pinged? #79

Closed
alexiskattan opened this issue May 20, 2016 · 2 comments
Closed

What is pinged? #79

alexiskattan opened this issue May 20, 2016 · 2 comments

Comments

@alexiskattan
Copy link

I'm looking through the code but am a bit of a noobie. What is the host that is pinged to determine that there is internet connectivity? Where is the part of the code to look?

@Mecharyry
Copy link
Contributor

Hi @alexiskattan if you look into the HostPinger here: https://goo.gl/AAqqgG this is where it is used. You can actually supply your own host to ping but by default Merlin uses http://connectivitycheck.android.com/generate_204 as the endpoint which is found in Merlin here: https://goo.gl/cfts1X.

@alexiskattan
Copy link
Author

Ahh thanks.

I'm connecting a 4.4 device to WiFi, then unplugging the WiFi from the internet. When I click "Get Current Status" in the demo, I get "Connected".

Is this right? Should it say connected if it is connected to the wifi but not to the internet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants