[Top][All Lists]

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

[lwip-devel] [task #7525] Implement TCP listen backlog

From: Frédéric Bernon
Subject: [lwip-devel] [task #7525] Implement TCP listen backlog
Date: Fri, 04 Jan 2008 13:04:39 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20071127 Firefox/

Follow-up Comment #31, task #7525 (project lwip):

>About "he listen backlog (0 = max)", I also thought about that. I think it
is OK to leave it 0 = DEFAULT if it's well documented. The only problem I see
here is that socket users can't set a maximum value (since socket API uses int
while we use u8_t).

For socket API, perhaps we could remove the asserts and replace if by a
"clamping" code like that in lwip_listen :

if (backlog<0) {
if (backlog>0xff) { 


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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