Hi,

On Tue, 28 Dec 2004 22:16:49 +0900, Thomas Metz <metz / gmx.net> wrote:
> Hi,
> 
> is there a way in Ruby to find out, whether my computer has built up a
> network connection or not?
> 
> I'm using Windows2000.
> 
> Thank you for helping a Ruby-newbie.
> 
> Thomas

If you want to see if there is an Internet connection available try to
connect to some known site. At first I thought of the ipconfig command
but it's too low level. The simple connection to a known website will
tell you if there is an internet connection and if no firewall is
blocking the connection. There are many ways to do that with Ruby. The
online book has some info.

http://www.ruby-doc.com

Cheers,
Joao