[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip tcp hangup
From: |
vincent cui |
Subject: |
Re: [lwip-users] lwip tcp hangup |
Date: |
Thu, 1 Sep 2011 08:23:18 +0000 |
HI simon:
The following code is a piece of my web server, I think it should deal with
mult-connetion, but the result is not
while (1)
{
clientfd = lwip_accept(lSocket, (struct sockaddr*)&client_addr,
&addrlen);
if (clientfd > 0)
{
xTaskCreate( httphandler, NULL, 128, (void *)&clientfd,
HTTP_TASK_PRIORITY, NULL );
vTaskDelay(100);
}
else
{
lwip_close (clientfd);
}
}
Would you help to check ?
锘?Vincent Cui
Sr.Firmware Engineer
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: address@hidden
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai,
200233
http://www.enlogic.com
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: 2011年9月1日 16:10
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwip tcp hangup
vincent cui <address@hidden> wrote:
> I mean I don't make lwIP do mult connection, it always deal with
> connection one by one
lwIP certainly allows multiple parallel connections, but I don't understand
what you mean by "making lwIP do mult connection".
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup,
vincent cui <=
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, FreeRTOS Info, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, FreeRTOS Info, 2011/09/01