[#NetworkErrorString]
= NetworkErrorString
:mrdocs:

Return readable error string for a network error code&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
NetworkErrorString(int err);
----

== Return Value

A human&hyphen;readable description of the error&period;

== Parameters

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


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