- s
- the socket.
- host
- the host.
- port
- the port number.
- autoClose
- true if socket s should be closed when the created socket is closed, false if the socket s should be left open.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if creating the socket fails. Java.Net.UnknownHostException if the host is unknown.
Creates an SSLSocket over the specified socket that is connected to the specified host at the specified port.