skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: SSL Application Programming Interface (API) Reference SSL Application Programming Interface (API) Reference
go to previous page: SSL_get_ex_new_index SSL_get_ex_new_index
go to next page: SSL_get_peer_cert_chainSSL_get_peer_cert_chain
end of book navigation links


SSL_get_fd
Description
Return Values
See Also
 

NAME

SSL_get_fd - get file descriptor linked to an SSL object

Synopsis  

#include <openssl/ssl.h>
int SSL_get_fd(SSL *ssl);
int SSL_get_rfd(SSL *ssl);
int SSL_get_wfd(SSL *ssl);


return to top DESCRIPTION  

SSL_get_fd() returns the file descriptor which is linked to ssl. SSL_get_rfd() and SSL_get_wfd() return the file descriptors for the read or the write channel, which can be different. If the read and the write channel are different, SSL_get_fd() will return the file descriptor of the read channel.


return to top RETURN VALUES  

The following return values can occur:


return to top SEE ALSO  

SSL_set_fd(3) , ssl(3) , bio(3)
go to previous page: SSL_get_ex_new_index SSL_get_ex_new_index
go to next page: SSL_get_peer_cert_chainSSL_get_peer_cert_chain