GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SSL_GET_ASYNC_WAIT_FD (3)

.ds Aq ’

NAME

SSL_waiting_for_async, SSL_get_async_wait_fd - manage asynchronous operations

CONTENTS

SYNOPSIS



 #include <openssl/ssl.h>

 int SSL_waiting_for_async(SSL *s);
 int SSL_get_async_wait_fd(SSL *s);



DESCRIPTION

SSL_waiting_for_async() determines whether an SSL connection is currently waiting for asynchronous operations to complete (see the SSL_MODE_ASYNC mode in SSL_CTX_set_mode(3)).

SSL_get_async_wait_fd() returns a file descriptor which can be used in a call to select() or poll() to determine whether the current asynchronous operation has completed or not. A completed operation will result in data appearing as read ready on the file descriptor (no actual data should be read from the file descriptor). This function should only be called if the SSL object is currently waiting for asynchronous work to complete (i.e. SSL_ERROR_WANT_ASYNC has been received - see SSL_get_error(3)).

RETURN VALUES

SSL_waiting_for_async() will return 1 if the current SSL operation is waiting for an async operation to complete and 0 otherwise.

SSL_get_async_wait_fd() will return a file descriptor that can be used in a call to select() or poll() to wait for asynchronous work to complete, or -1 on error.

SEE ALSO

SSL_get_error(3), SSL_CTX_set_mode(3)

HISTORY

SSL_waiting_for_async() and SSL_get_async_wait_fd() were first added to OpenSSL 1.1.0
Search for    or go to Top of page |  Section 3 |  Main Index


1.1.0-pre3 SSL_GET_ASYNC_WAIT_FD (3) 2016-02-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.