[Top][All Lists]

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

Re: [lwip-users] netconn_new (NETCONN_TCP) returns NULL

From: Kieran Mansley
Subject: Re: [lwip-users] netconn_new (NETCONN_TCP) returns NULL
Date: Thu, 02 Jun 2011 09:47:43 +0100

On Tue, 2011-05-31 at 18:00 +0100, MaX wrote:
> thank you very much for the replay. The return value of
> is -6.

If you look in include/lwip/err.h you can see that -6 is ERR_VAL.  The
most likely reason I can see for the netconn_new() code path to return
ERR_VAL is if you've given a type that it doesn't recognise: see

It would be worth adding some more verbose checking in that function to
see if it is returning ERR_VAL, or something else is the problem.  


reply via email to

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