- socket
- the existing socket
- host
- the host name/IP
- port
- the port on the host
- autoClose
- a flag for closing the underling socket when the created socket is closed
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException Java.Net.UnknownHostException
Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.