[Tutor] Socket and Changing IP's
Sander Sweers
sander.sweers at gmail.com
Tue Mar 1 08:25:09 CET 2011
On Tue, 1 Mar 2011, 01:02:23 CET, Jacob Bender <benderjacob44 at gmail.com> wrote:
> I'm trying to be a host without having to keep the computer on ALL
> of the time. Acting as a "Dropbox" would be an example. My IP doesn't
> change very often. It's stayed the same for days.
The best solution here is to get a hostname from a service like dyndns.org. It has easy ways to update the ip address off the hostname. Then from your script connect to the hostname instead of the ip directly.
Br
sander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110301/23412bec/attachment.html>
More information about the Tutor
mailing list