[#IOErrorIsPermanent]
= IOErrorIsPermanent
:mrdocs:

Check whether a socket error code represents a permanent failure&period;

== Synopsis

Declared in `&lt;util&sol;sock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IOErrorIsPermanent(int err);
----

== Return Value

true if the error is permanent, false if it is transient and the operation may be retried&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *err*
| The socket error code to classify (as returned by `WSAGetLastError()`&sol;`errno`)&period;
|===


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