Detecting internet connection


#1

Hi,

Is it possible to detect whether the internet connection is on from the
application?

Thanks,

Lantis.


#2

On 5/23/06, Lantis S. removed_email_address@domain.invalid wrote:

Is it possible to detect whether the internet connection is on from the
application?

require ‘ping’
puts “connection alive” if Ping.pingecho(“www.gooogle.com”, 10)

You get the idea…

Warren Brian Noronha