lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] arter getting error sys timeouts in the funtion sys_arch_ti


From: embed9527
Subject: [lwip-users] arter getting error sys timeouts in the funtion sys_arch_timeouts()
Date: Mon, 26 Nov 2007 16:34:18 +0800 (CST)

 
 
Hi,
 
    I'm using lwip cvs update, My software and hardware is at91sam7x256 + ucos + lwip,
I'm committed to the stability of the test lwip. my target board connects to company's LAN, so it can recieve a lot of enthernet data. sometime, when lwip get the timeouts error by the funtion sys_arch_timeouts(), I return NULL, and then, lwip doesn't work well, it debugs out information
 
    memp_malloc: out of memory in pool PBUF_POOL
 
forever!
 
    I want to known when the funtion sys_arch_timeouts() gets the error timeouts, what can be return?
 
 
    My second question is in the funtion netconn_recv(). I don't use socket, so when I want to receive data, netconn_recv() is been called. In the funtion, first it asks a buf, then waits for data coming forever. sometimes, I want to close the connect in another task, but the funtion netconn_recv() doesn't return, and the buf doesn't free forever!
 
Thanks.
 

reply via email to

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