Computing.Net > Forums > Programming > Windows Message when ip changes

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

Reply to Message Icon

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.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
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.

-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Windows Message when ip changes

GetMessage function www.computing.net/answers/programming/getmessage-function/13984.html

Recognize Dynamic IP Change www.computing.net/answers/programming/recognize-dynamic-ip-change/6712.html

scripting ip www.computing.net/answers/programming/scripting-ip/6289.html