Hello!

Does anyone have code to extract the gateway from a Win32 host?  I use the 
following to get the IP info:

                $machine = Win32::NodeName;
                $addr = (gethostbyname($machine))[4];
                $ip = join(".",unpack("C4", $addr));

Thanks mucho!

Pablo Suave


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to