[Tutor] Socket and Changing IP's

Wayne Werner waynejwerner at gmail.com
Tue Mar 1 00:57:42 CET 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110228/614951f8/attachment.html>


More information about the Tutor mailing list