standardise listen backlog

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31455 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-10-01 09:22:52 +00:00
parent 8af7e6bf3a
commit 8c7b1d496a
7 changed files with 25 additions and 7 deletions

View file

@ -74,6 +74,13 @@
#endif /* __MINGW__ */
/* The backlog argument to the listen() system call.
* Systems should silently truncate the backlog if they don't support one
* as large as we set, so it makes sense to set a large value in order to
* support high volume applications.
*/
#define GSBACKLOG 10000
#ifndef INADDRSZ
#define INADDRSZ 4
#endif