[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:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
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) {
backlog=0;
}
if (backlog>0xff) {
backlog=0xff;
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7525>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/03
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2008/01/03
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/04
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2008/01/04
- [lwip-devel] [task #7525] Implement TCP listen backlog,
Frédéric Bernon <=
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2008/01/04
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/04
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2008/01/05
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/05
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/06
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2008/01/06