Check whether a socket error code represents a permanent failure.

Synopsis

Declared in <util/sock.h>

bool
IOErrorIsPermanent(int err);

Return Value

true if the error is permanent, false if it is transient and the operation may be retried.

Parameters

Name

Description

err

The socket error code to classify (as returned by WSAGetLastError()/`errno`).

Created with MrDocs