what does 'backlog' parameter to listen do?
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 07/15/04
- Next message: Måns Rullgård: "Re: (gcc) warning: no newline at end of file"
- Previous message: Villy Kruse: "Re: (gcc) warning: no newline at end of file"
- Next in thread: Konstantin Sorokin: "Re: what does 'backlog' parameter to listen do?"
- Reply: Konstantin Sorokin: "Re: what does 'backlog' parameter to listen do?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jul 2004 08:02:47 GMT
Hi!
According to man 2 listen "The backlog parameter defines the maximum
length the queue of pending connections may grow to." But in practice
this parameter seems to mean nothing. At least when I call listen(s, 1)
there still can be hundreds of connections established even though I
didn't call accept for any. Is it because I have syn-cookies enabled? Or
I just misunderstand the man page?
Andrei
- Next message: Måns Rullgård: "Re: (gcc) warning: no newline at end of file"
- Previous message: Villy Kruse: "Re: (gcc) warning: no newline at end of file"
- Next in thread: Konstantin Sorokin: "Re: what does 'backlog' parameter to listen do?"
- Reply: Konstantin Sorokin: "Re: what does 'backlog' parameter to listen do?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]