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.htmlHope this helps
Oleg
> Thanks
> Paul
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...