null
indicates that a new socket should be created and connected.
@param host target host as specified by the caller (end user).
@param remoteAddress the resolved remote address to connect to.
@param localAddress the local address to bind the socket to, or null
for any.
@param context the actual HTTP context.
@return the connected socket. The returned object may be differentfrom the sock
argument if this factory supports a layered protocol.
@throws IOException if an I/O error occurs
|
|