Bind threads to addresses -- Windows & urllib?

Nick Arnett narnett at mccmedia.com
Wed Sep 4 19:08:37 EDT 2002


It's a machine with multiple IP addresses bound to one adapter.  I want each
spider thread to use a different address...

--
Nick Arnett
Phone/fax: (408) 904-7198
narnett at mccmedia.com


> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Gerhard Häring
> Sent: Wednesday, September 04, 2002 10:41 AM
> To: python-list at python.org
> Subject: Re: Bind threads to addresses -- Windows & urllib?
>
>
> Nick Arnett wrote:
> > 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
> > retrieve pages, and would like to bind each thread to a
> different address
> > on the machine, if possible.
>
> I'm not sure what you mean. This is a multithreaded HTTP client
> app, right?
> Do you have multiple network connections and want to use more than one?
>
> If yes, then that's an issue of configuring the routing on your computer
> appropriately (if that is at all possible, I doubt it's easy).
>
> I'd also be surprised if you could saturate a 100 MBit link with a HTTP
> spider.
>
> -- Gerhard
> --
> http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list