Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API

This commit is contained in:
goldsimon
2010-01-29 22:09:31 +00:00
parent 1dd8300e69
commit e58f4c567a
8 changed files with 203 additions and 132 deletions

View File

@@ -44,18 +44,18 @@ static const char *err_strerr[] = {
"Ok.", /* ERR_OK 0 */
"Out of memory error.", /* ERR_MEM -1 */
"Buffer error.", /* ERR_BUF -2 */
"Timeout.", /* ERR_TIMEOUT -3 */
"Timeout.", /* ERR_TIMEOUT -3 */
"Routing problem.", /* ERR_RTE -4 */
"Connection aborted.", /* ERR_ABRT -5 */
"Connection reset.", /* ERR_RST -6 */
"Connection closed.", /* ERR_CLSD -7 */
"Not connected.", /* ERR_CONN -8 */
"Illegal value.", /* ERR_VAL -9 */
"Illegal argument.", /* ERR_ARG -10 */
"Address in use.", /* ERR_USE -11 */
"Low-level netif error.", /* ERR_IF -12 */
"Already connected.", /* ERR_ISCONN -13 */
"Operation in progress." /* ERR_INPROGRESS -14 */
"Operation in progress.", /* ERR_INPROGRESS -5 */
"Illegal value.", /* ERR_VAL -6 */
"Connection aborted.", /* ERR_ABRT -7 */
"Connection reset.", /* ERR_RST -8 */
"Connection closed.", /* ERR_CLSD -9 */
"Not connected.", /* ERR_CONN -10 */
"Illegal argument.", /* ERR_ARG -11 */
"Address in use.", /* ERR_USE -12 */
"Low-level netif error.", /* ERR_IF -13 */
"Already connected.", /* ERR_ISCONN -14 */
};
/**