On Thu, 2008-09-18 at 18:04 +0100, Paul Fremantle wrote:
> Oleg
> 
> If you have a system that has several network interfaces, is there a
> way to bind an outgoing HTTP connection to a specific interface?
> 

Hi Paul

One can bind an outgoing HTTP connection to an arbitrary local address
by as giving a non null SocketAddress as a second parameter to the
ConnectingIOReactor#connect() method

http://hc.apache.org/httpcomponents-core/httpcore-nio/apidocs/org/apache/http/nio/reactor/ConnectingIOReactor.html

Hope this helps

Oleg


> Thanks
> Paul
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to