why apache SocketConfig has setSoReuseAddress() method?

283 Views Asked by At

i'm creating org.apache.http.config.SocketConfig class to configure my HttpClient,

in org.apache.http.config.SocketConfig api doc,

description of isSoReuseAddress() say, "Determines the default value of the SocketOptions.SO_REUSEADDR parameter for newly created sockets"

as far as i know, so_reuseadd is server side time_wait socket reusing option,

but apache HttpClient is http client, why this method exist??

0

There are 0 best solutions below