its just an overloaded method.


On 3/8/07, James Mao <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to