[Tutor] Socket and Changing IP's

Jacob Bender benderjacob44 at gmail.com
Tue Mar 1 01:02:23 CET 2011


On 2/28/2011 6:57 PM, Wayne Werner wrote:
> On Mon, Feb 28, 2011 at 5:49 PM, Jacob Bender <benderjacob44 at gmail.com 
> <mailto:benderjacob44 at gmail.com>> wrote:
>
>     Tutors,
>
>        I was looking into network programming, and I came across a
>     problem. Socket programs need an IP address to function correctly,
>     right? Well, IP addresses are always changing, so how should I go
>     about making sockets that will work for an extended period of
>     time? Thanks in advance!
>
>
> If your IP address is changing that frequently, something is probably 
> wrong!
>
> Your IP should basically stay the same from the time you connect to 
> the internet until the time you disconnect - longer if you use static IPs.
>
> What are you attempting to program?
>
> -Wayne
     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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110228/328c5ab0/attachment.html>


More information about the Tutor mailing list