S
Sami
Hello,
I would like to get the host IP Address for my local machine.
By using gethostname and gethostbyname I get a list of IP Addresses
(depending on how many ethernetadaptors I have on my machine).
How can I determine which IP Address is the correct one that I use mostly on
my machine.
I need just one IP address. Which is the correct one from the list of
addresses that I get back?
I would like to get the host IP Address for my local machine.
By using gethostname and gethostbyname I get a list of IP Addresses
(depending on how many ethernetadaptors I have on my machine).
How can I determine which IP Address is the correct one that I use mostly on
my machine.
I need just one IP address. Which is the correct one from the list of
addresses that I get back?