Skip to main content

connect_tls

Function connect_tls 

Source
pub fn connect_tls(host: String, port: i64) -> Result<i64, String>
Expand description

Open a TCP connection and complete a TLS handshake over it; Ok carries the same opaque handle every other native takes, so tcpSend/tcpRecv work unchanged.