lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] web browser halt problem


From: vincent cui
Subject: Re: [lwip-users] web browser halt problem
Date: Thu, 25 Aug 2011 06:24:13 +0000

Hi:

Forget to said that the web is dynamic page, it will trigger http in each 3 
second.

锘?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 vincent cui
Sent: 2011年8月25日 13:05
To: Mailing list for lwIP users
Subject: [lwip-users] web browser halt problem

Dear All:

I program a basic webserver with SOCKET, and test it by opening 10 client in 
browser.
I hope it could support 10 client access at same time.

Now, I did following configuration.
1. change MEMP_NUM_NETCONN to 16, it means it could connect 15 socket 
connection except listen socket .
2. change MEMP_NUM_TCP_PCB_LISTEN to 6
3. change MEMP_NUM_TCP_PCB to 10
BTW, I enable TCP keepalive function by 
#define LWIP_TCP_KEEPALIVE 1
#define TCP_KEEPIDLE_DEFAULT            10000UL
#define TCP_KEEPINTVL_DEFAULT       5000UL
#define TCP_KEEPCNT_DEFAULT                     3U

Then, I open IE under window7 and open 10 client to access... some client will 
show connection fail after a long time.
Does someone know why ?

vincent

_______________________________________________
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]