*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> SSL_get_fd (3)              
Title
Content
Arch
Section
 

SSL_GET_FD(3)

Contents


NAME    [Toc]    [Back]

       SSL_get_fd - get file descriptor linked to an SSL object

SYNOPSIS    [Toc]    [Back]

        #include <openssl/ssl.h>

        int SSL_get_fd(SSL *ssl);
        int SSL_get_rfd(SSL *ssl);
        int SSL_get_wfd(SSL *ssl);

DESCRIPTION    [Toc]    [Back]

       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 VALUES    [Toc]    [Back]

       The 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 ALSO    [Toc]    [Back]

      
      
       SSL_set_fd(3), ssl(3) , bio(3)


OpenBSD 3.6                 2000-12-14                          1
[ Back ]
 Similar pages
Name OS Title
SSL_set_rfd OpenBSD connect the SSL object with a file descriptor
SSL_set_wfd OpenBSD connect the SSL object with a file descriptor
SSL_set_fd Tru64 Connect the SSL object with a file descriptor
SSL_set_fd NetBSD connect the SSL object with a file descriptor
SSL_set_fd OpenBSD connect the SSL object with a file descriptor
shm_open IRIX establishes a connection between a shared memory object and a file descriptor
fattach IRIX attach a STREAMS-based file descriptor to an object in the filesystem name space
SSL_get_wbio OpenBSD get BIO linked to an SSL object
SSL_get_rbio Tru64 Get BIO linked to an SSL object
SSL_get_rbio NetBSD get BIO linked to an SSL object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service