@brief Establish a new SSL connection to an SSL client. It is up to the application to establish the initial socket connection. Call dispose() when the connection is to be removed. @param s [in] A reference to a Socket object. @return An SSL ob
(Socket s)
| 65 | * @return An SSL object reference. |
| 66 | */ |
| 67 | public SSL connect(Socket s) |
| 68 | { |
| 69 | int client_fd = axtlsj.getFd(s); |
| 70 | return new SSL(axtlsj.ssl_server_new(m_ctx, client_fd)); |
| 71 | } |
| 72 | } |