Bind threads to addresses -- Windows & urllib?
gumuz at looze.net
Thu Sep 5 00:33:56 CEST 2002
i think you mean something like this:
# do the spider stuff here
"Nick Arnett" <narnett at mccmedia.com> wrote in message
news:mailman.1031157680.4128.python-list at python.org...
> I can't see an obvious easy way to bind threads to IP addresses on a Win2K
> machine. I have a multi-threaded Web spider, which uses urllib to
> pages, and would like to bind each thread to a different address on the
> machine, if possible. Alternatively, I'd be willing to run separate
> processes to accomplish the same. So far, my searches aren't coming up
> any solution... And it would be wonderful if such an approach were also
> portable to Linux... Pointers?
> Nick Arnett
> Phone/fax: (408) 904-7198
> narnett at mccmedia.com
More information about the Python-list