[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #7525] Implement TCP listen backlog
From: |
Jonathan Larmour |
Subject: |
[lwip-devel] [task #7525] Implement TCP listen backlog |
Date: |
Thu, 20 Dec 2007 11:06:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8 |
Follow-up Comment #14, task #7525 (project lwip):
For "to_accept", how about "accepts_pending"
I think having an API that changes depending on configuration is worse than
just changing the API. But I think a better option may be:
#if LWIP_LISTEN_BACKLOG
# define LWIP_MAX_LISTEN_BACKLOG LWIP_LISTEN_BACKLOG
#else
# define LWIP_MAX_LISTEN_BACKLOG 1
#endif
err_t
netconn_listen_with_backlog(struct netconn *conn, int backlog);
#define netconn_listen(conn) netconn_listen_with_backlog(conn,
LWIP_MAX_LISTEN_BACKLOG);
and in socket.h:
#define SOMAXCONN LWIP_MAX_LISTEN_BACKLOG
Something similar could be done with tcp_listen() I guess
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7525>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7525] Implement TCP listen backlog, (continued)
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/17
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/17
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/17
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/17
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2007/12/18
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/19
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2007/12/19
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/19
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2007/12/19
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/19
- [lwip-devel] [task #7525] Implement TCP listen backlog,
Jonathan Larmour <=
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2007/12/20
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/20
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/20
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2007/12/21
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/21
- [lwip-devel] [task #7525] Implement TCP listen backlog, Jonathan Larmour, 2007/12/21
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2007/12/21
- [lwip-devel] [task #7525] Implement TCP listen backlog, Simon Goldschmidt, 2007/12/21
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/22
- [lwip-devel] [task #7525] Implement TCP listen backlog, Frédéric Bernon, 2007/12/22