On Tue, 24 Sep 2013, Mark Morgan Lloyd wrote:
How does one convert from the numeric value returned by SocketError to the
name of the error (specifically, to e.g. EsockEINVAL rather than
EsysEINVAL, i.e. to be in line with the definition of functions like
fpbind)?
use the errors unit. (spe
How does one convert from the numeric value returned by SocketError to
the name of the error (specifically, to e.g. EsockEINVAL rather than
EsysEINVAL, i.e. to be in line with the definition of functions like
fpbind)?
> use the errors unit. (specific for unix)
>
> It has a functiun strerror()
On Tue, 24 Sep 2013, Mark Morgan Lloyd wrote:
How does one convert from the numeric value returned by SocketError to the
name of the error (specifically, to e.g. EsockEINVAL rather than EsysEINVAL,
i.e. to be in line with the definition of functions like fpbind)?
use the errors unit. (speci