> If i add pxNetCon->err = ERR_OK; after the do while everything works. It > seems that ERR_TIMEOUT is treated as a fatal error and lwip wont send > anything trough the connection if a timeout occurs.
Which version of lwIP are you using? I just had a look at err.h in CVS and there, ERR_TIMEOUT is not fatal: >>>>>>>>>> err.h >>>>>>>>>> #define ERR_TIMEOUT -3 /* Timeout. */ #define ERR_RTE -4 /* Routing problem. */ #define ERR_IS_FATAL(e) ((e) < ERR_RTE) <<<<<<<<<< err.h <<<<<<<<<< I don't know if that's already the case in 1.2.0, though... Simon -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
