lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] TCP listen fucntion always return <=0


From: Kieran Mansley
Subject: Re: [lwip-users] TCP listen fucntion always return <=0
Date: Fri, 18 Sep 2009 15:07:57 +0100

On Fri, 2009-09-18 at 14:47 +0200, Oscar F wrote:
> Hello again, at the moment the creation and listening of socket TCP is
> work!!. the other thread WEB basic server work too, but the 
> variable errno has taken several values: 36240 and 30160. What means
> this codes?

They are platform dependent.  Look for what your platform defines error
numbers to be.  Some are set (if you have LWIP_PROVIDE_ERRNO) in
src/include/lwip/arch.h but these are all much smaller than the numbers
you quote, and so I'm sure these must come from your platform
definitions.

> this is my configuration today
> * Define default values for unconfigured parameters. */
> #define LWIP_NOASSERT 1 // To suppress some errors for now (no debug
> output)

That is a really bad idea.  Fix the errors that cause the assertions,
don't ignore them and hope it will all be OK.  The assertions are there
for a reason!  Please turn assertions back on as without them it will be
very difficult to offer help.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]