Menu

Check internet connection

2013-10-26
2024-04-01
  • Rob Kenders

    Rob Kenders - 2013-10-26

    Hi !

    Does anyone know if it's possible with the components
    to check if there's an internet connection ? Sometimes
    when the internet connection is lost, my app crashes, so
    i would like to check if the connection is oke.

    Cheers,

    Rob

     
  • Gordon

    Gordon - 2013-11-04

    The only real way to test a connection is to try to connect to a remote server.. How about use indy and ping something?

     
  • Fenistil

    Fenistil - 2013-11-20

    Great, thanks!

     
  • Fenistil

    Fenistil - 2014-02-23

    Hi!

    I try to use the linked Network State Demo, but with the XE5 Update 2 I got the following error: "Objective C class Reachability can not be found".

    Any suggestion?

    Thanks

     
  • Rob Kenders

    Rob Kenders - 2014-02-24

    Hi Fenistil,

    You use the simulator or on real device ?

    I still use XE4 but i've seen that error also here sometimes,
    but only when targeting the simulator, real device works fine
    then.

    Cheers,

    Rob

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.