Host Name and IP Address Acquisition

Started by
0 comments, last by GameDev.net 19 years ago
I am looking for a function call in MFC to get the Computer name and IP address of the computer terminal i am in...i have tried gethostname(char *, int sizebuffer) but it gives me and external symbol and a linker error, is there any other way to do this or solve the linker error.
PwebrickDeveloper - Looking for work in gaming industry
Advertisement
link your app with winsock2.lib

This topic is closed to new replies.

Advertisement