On Tue, Jun 10, 2014 at 9:28 AM, Jon Engle <jon.en...@gmail.com> wrote:
> for port in range (startingPort, 65535): > thread.start_new_thread(setup, (port,)) > startingPort=startingPort+1 > #print startingPort > I think you just need this: for port in range (startingPort, 65535): > thread.start_new_thread(setup(port)) > #print port > and inside of setup, get rid of this line: PORT = startingPort #arbitrary port not currently in use
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor