NAME
SSLgetfd - get file descriptor linked to an SSL object
SYNOPSIS
#include
int SSLgetfd(const SSL *ssl); int SSLgetrfd(const SSL *ssl); int SSLgetwfd(const SSL *ssl);DESCRIPTION
SSLgetfd() returns the file descriptor which is linked to ssssll. SSLgetrfd() and SSLgetwfd() return the file descriptors for the read or the write channel, which can be different. If the read and the write channel are different, SSLgetfd() will return the file descriptor of the read channel.RETURN VALUES
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 ssssll.SEE ALSO
SSLsetfd(3), ssl(3) , bio(3)0.9.7l 2005-03-30 SSLgetfd(3)