Programmer's Reference


Error values


Table 40. SCI return values

sciError Description
EACCES A blocking accept was sent from the context of a callback.
EADDRINUSE The specified address is already in use.
EADDRNOTAVAIL The specified address is not available from the local machine.
EAFNOSUPPORT The addresses in the specified address family cannot be used with by this socket.
EBADF The receiver no longer refers to a valid socket.
ECONNABORTED The virtual circuit was aborted due to timeout or other failure.
ECONNREFUSED The attempt to connect was rejected.
ECONNRESET The virtual circuit was reset by the remote side.
EDESTADDREQ A destination address is required.
EFAULT The optionValue is not a valid part of the process address space.
EHOSTNOTFOUND Authoritative answer host not found.
EINPROGRESS A blocking socket operation is in progress.
EINTR The operation was interrupted.
EINVAL A listen was not performed on the receiver prior to accept.
EISCONN The receiver is already connected.
EMFILE The queue is empty upon entry to accept and there are no descriptors available.
EMSGSIZE The datagram was too large to fit into the specified buffer and was truncated.
ENETDOWN The interface implementation has detected that the network subsystem has failed.
ENETRESET The connection must be reset because the interface implementation dropped it.
ENETUNREACH No route to the network or host is present.
ENOBUFS No buffer space is available.
ENODATA Valid address but no data.
ENOPROTOOPT The option is unknown.
ENOTCONN The socket is not connected.
ENOTINITIALISED The network interface has not started.
ENOTSOCK The receiver refers something besides a socket.
EOPNOTSUPP The receiver is not a type that supports connections oriented services i.e. not a streaming socket (SOCKSTREAM).
EPROTONOSUPPORT The specified protocol is not supported.
EPROTOTYPE The specified protocol is the wrong type for this socket.
ESHUTDOWN The interface has been shutdown. It is not possible to recv on the socket after shutdown.
ESOCKTNOSUPPORT The specified socket type is not supported in this address family.
ETIMEDOUT A timed out occurred before a connection was made.
EWOULDBLOCK The receiver is marked as non-blocking, and no connections are present to be accepted


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]