|HP-UX error number||Solaris error number||Linux error
|EINTR||4||4||4||4||The function specified was interrupted
by a signal.
|EBADF||9||9||9||9||Bad socket. The socket might have
|EAGAIN||11||11||11||11||Resource temporarily unavailable.|
On receive, the data was directed to be received
|EINVAL||22||22||22||22||Invalid argument that is passed
to the specified function or the socket is closed. The EINVAL error
can be returned if there was a memory overwrite, or buffer overflow
|ENFILE||23||23||23||23||Too many open files in the system.|
|EMFILE||24||24||24||24||The per-process file descriptor
table is full. Number of file descriptors/sockets for the process
|ENOSPC||28||28||28||28||No space is left on a device or
|EWOULDBLOCK||54||246||11||11||On the connect function, the range
that is allocated for TCP/UDP ephemeral ports is exhausted. (Some
operating systems return the same error as EAGAIN.)
|ENOTSOCK||57||216||95||88||Socket operation on a non-socket.|
|ENOPROTOOPT||61||220||99||92||Option is unknown.|
|EADDRINUSE||67||226||125||98||The specified address is already
in use. Perhaps the previous process that established the connection
was terminated abnormally or was not cleaned up properly.
|EADDRNOTAVAIL||68||227||126||99||The specified host name or IP
address is not available from the local system.
|ENETDOWN||69||228||127||100||The network is down.|
|ENETUNREACH||70||229||128||101||No route to the network or host
|ENETRESET||71||230||129||102||The network dropped the connection
|ECONNRESET||73||232||131||104||Connection was reset by the partner.|
|ENOBUFS||74||233||132||105||Insufficient memory or resources
were available in the system to complete the call.
|EISCONN||75||234||133||106||The socket is already connected.|
|ENOTCONN||76||235||134||107||The socket is not connected.|
|ETIMEDOUT||78||238||145||110||The connection was timed out.|
|ECONNREFUSED||79||239||146||111||The connection was refused. If
you are trying to connect to the database, check that the database
manager and TCP/IP protocol support at the server were started successfully.
If you specified the SOCKS protocol support, you must also ensure
|EHOSTDOWN||80||241||147||112||The host is down.|
|EHOSTUNREACH||81||242||148||113||No route to the host is available.|
- Use of SSL with JavaMail – How to guide
- UNIX System Fundamentals – how to be a power user