Help please, I am trying to get the IP address of the host PC into a perl
script.  I tried using Gethostbyname() without success.  I have a Bluetooth
adapter connected to this PC and when I ping host name it returns the IP
address of the BT adapter.  Ipconfig shows the 2 ethernet adapters and the
Bluetooth adapter uses Ethernet adapter#2.  Is there another way to get IP
address from the system?

 

Thanks

David

Reply via email to