Tidyups and a performance fix for networking.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-10-31 20:50:25 +00:00
parent 05a94eb676
commit fe50fce2c0
8 changed files with 10 additions and 2228 deletions

View file

@ -1284,7 +1284,7 @@ static int unique_index = 0;
(void) close(desc);
DESTROY(port);
}
else if (listen(desc, 5) < 0)
else if (listen(desc, 128) < 0)
{
NSLog(@"unable to listen on port - %s", GSLastErrorStr(errno));
(void) close(desc);