AW: Detect IP changes

Harald Schneider h_schneider at marketmix.com
Thu Mar 20 10:37:01 EST 2003


Thank you -- I see .. it works great, you'r the absolute GURU!

All the best,
Harald

> -----Ursprüngliche Nachricht-----
> Von: Nagy László Zsolt [mailto:nagylzs at freemail.hu] 
> Gesendet: Donnerstag, 20. März 2003 16:24
> An: Harald Schneider; comp.lang.python
> Betreff: Re: Detect IP changes
> 
> 
> 
> >Is there a reliable way to detect the change of a dynamic IP 
> address ?
> >If I use socket.gethostbyname('my_dynip_name') I still get 
> the old IP, even
> >thougt my system's DNS has been refreshed with the new 
> name-address binding
> >...
> >A solution should be platform independent.
> >
> >Thanks for your answers!
> >  
> >
> I forgot to mention that you should set COMMON_HOST and 
> COMMON_PORT  to 
> a service near you.
> For example, a mail server of your ISP. Any server that can 
> be connected 
> in a Jiffy.
> 
>   Laci 1.0
> 
> 
> 






More information about the Python-list mailing list