urllib and binding to a interface on a multihomed system
mk at net.mail.penguinista
Mon Apr 7 13:10:27 CEST 2003
I have a computer that's connected to three networks.
On that computer I have a python script that uses urllib or urllib2 to fetch
urls and POST data...
The problem is, I want the outgoing IP address of the connections made by
urllib to be one of the interfaces and not the default selected by the
kernel. I can do this to low-level sockets with the "bind" method... Can I
do the same thing to urllib?
Дамјан (jabberid:damjan at bagra.net.mk)
"One world, one web, one program" -- Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler
More information about the Python-list