[python-win32] Network configuration change notification
Rudy Schockaert
Rudy.Schockaert at pandora.be
Thu Jul 31 22:02:04 EDT 2003
Hi,
I would like to write a Python application that sits and waits in the
background (a service I guess) for changes in my network configuration
on my laptop. I want to reconfigure my system depending on the network
I'm connected to.
I want to change proxy settings map drives, set default printer, ......
I found on MSDN Library that there is a IPHLPAPI.dll taht provides a
NotifyAddrChange function. That far I got. Now I should be able to call
that function from Python and be notified somehow when my ip-address
changes.
Any that can point me in the right direction? I was thinking of using
ctypes for it but maybe there are easier ways to do this,
TIA,
Rudy
More information about the Python-win32
mailing list