[Top][All Lists]

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

Re: [lwip-users] TCP_LISTEN_BACKLOG setting problem

From: Simon Goldschmidt
Subject: Re: [lwip-users] TCP_LISTEN_BACKLOG setting problem
Date: Tue, 22 Feb 2011 16:10:07 +0100

Kieran Mansley <address@hidden> wrote:
> However, as others have pointed out, this shouldn't stop you restricting
> the number of accepted connections to 1.  You just won't be able to
> restrict it to zero.

I'm not sure our backlog can provide what he wants. From reading his mails, he 
wants to limit a listening port to allow only 1 connection at a time, thus 
denying new connections until the first one is closed.

However, our backlog implementation limits the accept queue, thus allowing 
unlimited simultaneous connections if the application accepts them fast enough. 
He would thus end up with 1 active connection and 1 connection queued in the 

I'm not too familiar with other OSes, but I think we're pretty much standard 

NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone

reply via email to

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