Hi:

I use socket api to do that.

Vincent
________________________________________
发件人: [email protected] 
[[email protected]] 代表 Sylvain Rochet 
[[email protected]]
发送时间: 2012年7月20日 22:08
到: Mailing list for lwIP users
主题: Re: [lwip-users] how to release allocated TCB

Hi,

On Fri, Jul 20, 2012 at 02:05:24PM +0000, vincent cui wrote:
> Hi :
>
> I write TELNET application with socket and run under FreeRTOS. As
> system boot, TELNET works well. And can be connected with hypertim.
>
> I close telnet socket and delete the TELNET task in another Task. And
> create new TELNET task after a while, I found that it binds success,
> but I can't connect it with hypertim again . It seems that it can't
> accept any message again . and I found that the TCB number is higher
> than normal, anyone know how to release it ?

First of all, which API are you using ?  raw API is not thread safe, you
should use the netconn or the socket API.

Sylvain
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to