Choosing Source Address to Bind Socket to in IMAP Client

brintoul at controlledthinking.com brintoul at controlledthinking.com
Tue Nov 20 16:14:53 EST 2012


Hello:

I have a multihomed machine that I would like to run the Python imaplib's IMAP4 client on.  I would like to be able to specify which interface the underlying socket will bind to as its source address.  How could I best do this?

Thanks for any help...



More information about the Python-list mailing list