Hi Andrew,

> Could anyone describe me how to bind HttpClient to local IP addr? I 
mean, 
> I have a host with some IPs assigned to it, and I need to send 
> http-requests from only one specific IP. 

HttpClient uses a ProtocolSocketFactory to create connections to the 
server:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/protocol/ProtocolSocketFactory.html

By implementing your own protocol socket factory, you should be able to do
everything socket-specific using the standard Java socket API.

hope that helps,
  Roland


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

Reply via email to