[][src]Function mesalink::libssl::ssl::mesalink_SSL_set_fd

#[no_mangle]
pub extern "C" fn mesalink_SSL_set_fd(
    ssl_ptr: *mut MESALINK_SSL,
    fd: c_int
) -> c_int

SSL_set_fd - set the file descriptor fd as the input/output facility for the TLS/SSL (encrypted) side of ssl. fd will typically be the socket file descriptor of a network connection.

#include <mesalink/openssl/ssl.h>

int SSL_set_fd(SSL *ssl, int fd);