C++ - Obtaining IP Addr of machine
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
How can I obtain the ip address of the machine using c++. Currently I've been using gethostbyname & getcomputername but this returns the DNS, I want the IP. Cheers Gerry.
You've got the answer on the excellent Warren Young's Winsock Programmer's FAQ, section 6.5 Regards, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
You've got the answer on the excellent Warren Young's Winsock Programmer's FAQ, section 6.5 Regards, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo