B
B
beduin012015-06-24 17:01:10
Computer networks
beduin01, 2015-06-24 17:01:10

What is the best way to check if the Internet is available in the application?

It is necessary that the application checks whether the Internet is available at startup.
Except as an option with an attempt to download some kind of ya.ru, other thoughts do not come to mind.
Is this the only option or is there a better way?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2015-06-24
@edinorog

ping mail.ru =D

D
Denis Ineshin, 2015-06-24
@IonDen

Request some config from your server and that's it, set a timeout, that's the check for you.

E
entermix, 2015-06-24
@entermix

ping your (well, or not your) web server

Z
zorruch, 2015-06-29
@zorruch

If you want beautiful, then here:
winreview.ru/kakim-obrazom-windows-opredelyaet-nal...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question