Re: How detect internet connection?
- Posted by jimcbrown (admin) Aug 13, 2013
- 1602 views
sergelli said...
That's a Linux solution. Is it?
Nixland - it's not Linux/GNU specific.
sergelli said...
But what is the solution to poor little Windows? :)
Oh, it's off by one character.
integer ping_retcode = system_exec("ping -n 1 -w 1 google.com", 2) if ping_retcode = 0 then -- internet connection good else -- internet connection possibly down end if