[Tutor] Socket and Changing IP's

David Hutto smokefloat at gmail.com
Tue Mar 1 01:04:40 CET 2011


On Mon, Feb 28, 2011 at 7:02 PM, Jacob Bender <benderjacob44 at gmail.com> wrote:
> 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>
> 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.

If you don't want your computer on, and you want your hosting services
allocated elsewhere, then why are you worried about that particular
dynamically changing address?

Go static with "offsite".

 Acting as a "Dropbox" would be an example. My IP doesn't change
> very often. It's stayed the same for days.
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>



-- 
According to theoretical physics, the division of spatial intervals as
the universe evolves gives rise to the fact that in another timeline,
your interdimensional counterpart received helpful advice from me...so
be eternally pleased for them.


More information about the Tutor mailing list