- k
- the socket.
- host
- the host.
- port
- the port number.
- close
- 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
Creates an SSLSocket over the specified socket that is connected to the specified host at the specified port.
This method verifies the peer's certificate hostname after connecting (unless created with SSLCertificateSocketFactory.GetInsecure(int, Android.Net.SSLSessionCache)).