Hallo,
Does anyone know a Visual C++ function to return the TCP/IP properties of the local machine?
I mean the IP Address and/or Default Gateway.
I've used gethostbyname as a way around it but that returns the 127.0.0.1 address on Windows 2000 if there is no network connected, whereas I need the actual IP address set up in the TCP/IP properties
Any help much appreciated,
- Frink
Does anyone know a Visual C++ function to return the TCP/IP properties of the local machine?
I mean the IP Address and/or Default Gateway.
I've used gethostbyname as a way around it but that returns the 127.0.0.1 address on Windows 2000 if there is no network connected, whereas I need the actual IP address set up in the TCP/IP properties
Any help much appreciated,
- Frink