From: Mikael Brockman Date: 2004-06-28T19:55:17+09:00 Subject: Re: get same info as ipconfig? piir@earthlink.net (Todd Gardner) writes: > Hello Everyone, > > Is there a cross platform command to get the same info that ipconfig > [w2k] or ifconfig[POSIX] returns directly in Ruby? > > Thanks, > > Todd Nope, not really, I don't think. If you want to figure out the address of the interface closest to the Internet, as far as I know the most portable way is to open a socket to a machine elsewhere on the Internet and look at which source address the operating system chose. mikael