SSL_GET_FD - Online Linux Manual Page

Section : 3
Updated : 2021-03-26
Source : 1.1.1k
Note : OpenSSL

NAMESSL_get_fd, SSL_get_rfd, SSL_get_wfd − get file descriptor linked to an SSL object

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

DESCRIPTIONSSL_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 VALUESThe following return values can occur: −1 The operation failed, because the underlying BIO is not of the correct type (suitable for file descriptors). >=0 The file descriptor linked to ssl.

SEE ALSOSSL_set_fd(3), ssl(7) , bio(7)

COPYRIGHTCopyright 2000−2016 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the License). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
0
Johanes Gumabo
Data Size   :   5,479 byte
man-S___SL_get_fd.3sslBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   16 / 2,084,023
Visitor ID   :     :  
Visitor IP   :   216.73.216.62   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   37.751000 x -97.822000   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :     :  
Provider Province   :   ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|254|S___SL_get_fd.3ssl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|160|S___SL_get_fd.3ssl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|254|S___SL_get_fd.3ssl|43|br══─}─══|'br══─}─══ )         (htmlprn|160|S___SL_get_fd.3ssl|43|'br══─}─══ |'br══─}─══ )