URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 39 |
Rev 56 |
Line 603... |
Line 603... |
#ifdef ECONNABORTED
|
#ifdef ECONNABORTED
|
case ECONNABORTED:
|
case ECONNABORTED:
|
error = "Software caused connection abort";
|
error = "Software caused connection abort";
|
break;
|
break;
|
#endif
|
#endif
|
|
#if (defined(EWOULDBLOCK) && (!defined (EAGAIN) || (EWOULDBLOCK != EAGAIN)))
|
|
case EWOULDBLOCK:
|
|
error = "Operation would block";
|
|
break;
|
|
#endif
|
|
#ifdef ENOTCONN
|
|
case ENOTCONN:
|
|
error = "Socket is not connected";
|
|
break;
|
|
#endif
|
|
#ifdef ESOCKTNOSUPPORT
|
|
case ESOCKTNOSUPPORT:
|
|
error = "Socket type not supported";
|
|
break;
|
|
#endif
|
|
#ifdef EISCONN
|
|
case EISCONN:
|
|
error = "Socket is already connected";
|
|
break;
|
|
#endif
|
|
#ifdef EOPNOTSUPP
|
|
case EOPNOTSUPP:
|
|
error = "Operation not supported on socket";
|
|
break;
|
|
#endif
|
|
#ifdef EMSGSIZE
|
|
case EMSGSIZE:
|
|
error = "Message too long";
|
|
break;
|
|
#endif
|
|
#ifdef ETIMEDOUT
|
|
case ETIMEDOUT:
|
|
error = "Connection timed out";
|
|
break;
|
|
#endif
|
default:
|
default:
|
if ((error = _user_strerror (errnum)) == 0)
|
if ((error = _user_strerror (errnum)) == 0)
|
error = "";
|
error = "";
|
break;
|
break;
|
}
|
}
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.