From: Thomas Metz Date: 2004-12-30T19:11:45+09:00 Subject: Re: verifying a network connection Josef 'Jupp' Schugt wrote: > Premshree Pillai wrote: > >> require 'net/http' >> begin >> resp = Net::HTTP.get_response(URI.parse("http://some.url")) >> # do stuff >> rescue >> print "No Network connection" >> end > > > Your solution *may* solve the problem that Thomas has but it does not > fit the one he actually described. Yes, I described my problem not very precise, but Premshree's solution was exaxtly, what I was looking for. Thank you all for your suggestions. Thomas