Wait until a BIO is ready for I/O or until max_time elapses.
Synopsis
Declared in <openssl/bio.h>
int
BIO_wait(
BIO* bio,
time_t max_time,
unsigned int nap_milliseconds);
Return Value
1 when ready, 0 on timeout, or a negative value on error.
Parameters
Name |
Description |
bio |
BIO to poll (typically a socket or non‐blocking I/O BIO). |
max_time |
Absolute deadline as a time_t (0 means wait indefinitely where supported). |
nap_milliseconds |
Sleep quantum between polls when the BIO has no native wait. |
Created with MrDocs