[#BIO_sock_should_retry]
= BIO&lowbar;sock&lowbar;should&lowbar;retry
:mrdocs:

Decide whether a socket BIO operation should be retried after return value `i&period;`

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;sock&lowbar;should&lowbar;retry(int i);
----

== Return Value

1 if the failure is retryable (EAGAIN&sol;EINTR&hyphen;style), or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *i*
| Result from a socket read&sol;write (negative on error, or zero in some cases)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
