Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2005 Jun : trying to get the local ip using wininet
| Subject: | trying to get the local ip using wininet |
| Posted by: | nadeema..@gmail.com |
| Date: | 17 Jun 2005 02:08:15 |
Hey!
Is there a way to get the local machine IP by using the wininet
library, I am trying to get the IP of the machine on which the client
is running on.
There is a simple call that one can make in java
ipAddress = (InetAddress.getLocalHost()).getHostAddress();
I want to do something similar to this in vc++.
Any help would be appreciated.