MCPcopy
hub / github.com/openwrt/luci / connect

Method connect

libs/nixio/axTLS/bindings/java/SSLClient.java:73–80  ·  view source on GitHub ↗

@brief Establish a new SSL connection to an SSL server. It is up to the application to establish the initial socket connection. This is a blocking call - it will finish when the handshake is complete (or has failed). Call dispose() when the connection is to be removed. @param s [in] A reference t

(Socket s, byte[] session_id)

Source from the content-addressed store, hash-verified

71 * if a handshake succeeded.
72 */
73 public SSL connect(Socket s, byte[] session_id)
74 {
75 int client_fd = axtlsj.getFd(s);
76 byte sess_id_size = (byte)(session_id != null ?
77 session_id.length : 0);
78 return new SSL(axtlsj.ssl_client_new(m_ctx, client_fd, session_id,
79 sess_id_size));
80 }
81}

Callers 1

do_clientMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected