Re: Choosing Source Address to Bind Socket to in IMAP Client

2012-11-20 Thread brintoul
On Tuesday, November 20, 2012 2:41:58 PM UTC-8, Prasad, Ramit wrote: > brintoul at controlledthinking.com wrote: > > Apologies, I misread your question. > > > > According to the imaplib docs, you can subclass IMAP4 and override > > `IMAP4.open` to create th

Re: Choosing Source Address to Bind Socket to in IMAP Client

2012-11-20 Thread brintoul
On Tuesday, November 20, 2012 1:59:34 PM UTC-8, Prasad, Ramit wrote: > brintoul at controlledthinking.com wrote: > > > > > > Hello: > > > > > > I have a multihomed machine that I would like to run the Python imaplib's > > IMAP4 client on

Re: Choosing Source Address to Bind Socket to in IMAP Client

2012-11-20 Thread brintoul
On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote: > On Wed, Nov 21, 2012 at 8:14 AM, wrote: > > > 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 > >

Choosing Source Address to Bind Socket to in IMAP Client

2012-11-20 Thread brintoul
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... -- http://mail.python.org/mailman/li