A
A. Ma
Does anyone know how to find out what IP addresses are configured locally?
Thanks.
A.Ma
Thanks.
A.Ma
In linux, ifconfig;Does anyone know how to find out what IP addresses are configured locally?
Thanks.
A.Ma
A. Ma said:Does anyone know how to find out what IP addresses are configured locally?
Thanks.
A.Ma
Obviously, I needed to get the list of locally configured IP
addresses from a Perl script. I didn't want to do system 'ifconfig'
because it is not portable. It does not work in Windows.
Anyway, if anyone is interested, I found the answer myself. There is
a module from ActiveState called Net::Ifconfig::Wrapper. I tried it
yesterday and it works for both Unix and Windows.
A.Ma
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.