commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston" <rwins...@eircom.net>
Subject Re: HttpClient: Socket(hostName,) or Socket(InetAddress,)
Date Thu, 08 Mar 2007 22:17:25 GMT
Why?


"Jakarta Commons Users List" <commons-user@jakarta.apache.org> wrote:

> 
> Hi,
> 
> I just noticed that in 
> org/apache/commons/httpclient/protocol/DefaultProtocolSocketFactory
> 
> we use the Socket(host, port), why not use Socket(InetAddress, port)
> 
> I guess the the Socket(host, port) will eventually call 
> Socket(InetAddress, port), right?
> I think if we use Socket(InetAddress, port), can improve the productivity.
> 
> thoughts?
> 
> James.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 



-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message