How to get a ip address from system name
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, How to get a ip address from system name and how to get a system name from ip address. below see my requirement.
input: 127.0.0.1
output: comp01input: comp01
output: 127.0.0.1Thanks
-
Hi, How to get a ip address from system name and how to get a system name from ip address. below see my requirement.
input: 127.0.0.1
output: comp01input: comp01
output: 127.0.0.1Thanks
Hi, try this http://msdn.microsoft.com/en-us/library/windows/desktop/ms738532(v=vs.85).aspx[^] Thanks
-
Hi, How to get a ip address from system name and how to get a system name from ip address. below see my requirement.
input: 127.0.0.1
output: comp01input: comp01
output: 127.0.0.1Thanks
Here is how to get ip address from system name: