SocketError

Error codes for $(D_PSYMBOL Socket).

Values

ValueMeaning
unknown0

Unknown error

accessDeniederr.EPERM

Firewall rules forbid connection.

notSocketerr.EBADF

A socket operation was attempted on a non-socket.

networkDownerr.ECONNABORTED

The network is not available.

faulterr.EFAULT

An invalid pointer address was detected by the underlying socket provider.

invalidArgumenterr.EINVAL

An invalid argument was supplied to a $(D_PSYMBOL Socket) member.

tooManyOpenSocketserr.ENFILE

The limit on the number of open sockets has been reached.

noBufferSpaceAvailableerr.ENOBUFS

No free buffer space is available for a Socket operation.

operationNotSupportederr.EOPNOTSUPP

The address family is not supported by the protocol family.

protocolNotSupportederr.EPROTONOSUPPORT

The protocol is not implemented or has not been configured.

protocolErrorerr.EPROTOTYPE

Protocol error.

timedOuterr.ETIMEDOUT

The connection attempt timed out, or the connected host has failed to respond.

socketNotSupportederr.ESOCKTNOSUPPORT

The support for the specified socket type does not exist in this address family.

Meta