lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] netconn->acceptmbox is NULL


From: Emil Ohlsson
Subject: Re: [lwip-users] netconn->acceptmbox is NULL
Date: Fri, 5 Aug 2011 15:17:08 +0200

BTW, if I change the netconn to a NETCONN_TCP the code works. But I need to 
receive UDP data.

/E

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Emil Ohlsson
Sent: den 5 augusti 2011 15:11
To: Mailing list for lwIP users
Subject: Re: [lwip-users] netconn->acceptmbox is NULL

>On Fri, 2011-08-05 at 11:46 +0200, Emil Ohlsson wrote:
>>      res = netconn_listen(cli);
>>      if ( res != ERR_OK ) {/* Error handling */ }
>
>You should get an error here if it couldn't allocate the acceptmbox.  I would 
>debug the do_listen() function in >src/api/api_msg.c to see if that allocation 
>is failing, and if so why.
>
>Kieran

As far as I can see in do_listen it doesn't do anything to UDP connections. Is 
it netconn_listen that allocates the acceptmbox?

/E


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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