Choosing Source Address to Bind Socket to in IMAP Client

brintoul at brintoul at
Tue Nov 20 22:14:53 CET 2012


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