BIO_sock_non_fatal_error

Report whether a socket errno / WSA error is a non-fatal retryable condition.

Synopsis

Declared in <openssl/bio.h>

int
BIO_sock_non_fatal_error(int error);

Return Value

1 if BIO socket I/O should retry, or 0 if the error is fatal.

Parameters

NameDescription
errorPlatform socket error code (for example EAGAIN or WSAEWOULDBLOCK).