Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Windows Message when ip changes
Name: yasir15 Date: October 28, 2003 at 14:19:31 Pacific OS: Win 2k CPU/Ram: 256
Comment:
Hi: Is there a windows message created in a scenario when the ip address of the machine changes ?? Lets say the machine is disconnected from one nw and hooked on another, which will change its ip.. in this case, will there be a windows message alerting this ? If yes, what do i do to get it ? Very new to windows programming.
Name: gpp Date: October 28, 2003 at 17:47:33 Pacific
Reply:
You can probably find such info in the Events log. However, I have never tried to record anything like this programatically, so I dont know what to tell you.. Your best best is to write a script that parses the output of the command >ipconfig /all, that you run on a daily basis, and you can probably detect the change there..
maybe someone else has a better solution..
0
Response Number 2
Name: SN Date: October 28, 2003 at 20:31:14 Pacific
Reply:
I have never done this myself, but I know that dynamic dns programs (dynu, dns2go, planetremote, etc.) check the IP every few minutes. They don't automatically detect when an IP changes. If they don't, it's likely that you won't want to. Try gpp's approach.
Summary: Hi geohoffman, I am using system hook to insert a callback function which intercepts a Windows message (when the user open a IE window). I have a problem in using the GetMessage function where the whi...
Summary: hello. i was wondering how how to deal with dynamic IP's. my situtation is that i would like to use a remote access such as Windows Desktop Sharing to connect to my work pc from home. I have it workin...
Summary: My friend and I just built a server, but the problem is we want access from lots of places, but can't afford a static ip. I was wondering if there was some sort of script we could use to put the ip as...