|
From: | Mrutyunjay |
Subject: | Re: [lwip-users] TCP_LISTEN_BACKLOG setting problem |
Date: | Tue, 22 Feb 2011 18:29:53 +0530 |
Setting TCP_LISTEN_BACKLOG==0 means "disabled". In this case, backlog is limited by the number of PCBs.
Mrutyunjay <address@hidden> wrote:
> if i set TCP_LISTEN_BACKLOG 0 , I can see 1 active connection and 8 in
> queue , 9th connection is rejected.
In lwIP, the listen backlog is the number of incoming connections queued for accept(), meaning once you accepted one connection, another one is free to be queued for the next accept call. Open client connections previously accepted do not count in here.
> if i set TCP_LISTEN_BACKLOG 1 , I can see 1 active connection and 1 in
> queue.
SWimon
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |