Return readable error string for a network error code.

Synopsis

Declared in <util/sock.h>

std::string
NetworkErrorString(int err);

Return Value

A human‐readable description of the error.

Parameters

Name

Description

err

The network error code (as returned by WSAGetLastError()/`errno`).

Created with MrDocs