get netmask information when other IP address is known
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I've tried this for quite a while, still clueless. :mad: I used WNetOpenEnum and WNetEnumResource to obtain the IP address of other PC connected to my neighborhood. Now I want to know the subnet mask settings and gateway settings of them. What functions to use? I know structure INTERFACE_INFO contains field iiNetmask, which is the network mask, but which function can give me this structure as an output? thank you very much for the help!