Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
SSL_set_fd, SSL_set_rfd, SSL_set_wfd — connect the SSL object with a file descriptorSYNOPSIS
#include <openssl/ssl.h>SSL_set_fd(SSL *ssl, int fd);
SSL_set_rfd(SSL *ssl, int fd);
SSL_set_wfd(SSL *ssl, int fd);
DESCRIPTION
SSL_set_fd() sets 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.RETURN VALUES
The following return values can occur:- 0
- The operation failed. Check the error stack to find out why.
- 1
- The operation succeeded.