3

Which is the default connection backlog value for TCP in Windows? I have tried to find it but no luck.

Cheers

1 Answer 1

2

There is no default. It's always specified by the application in the listen (or equivalent) call.

3
  • humm... not in .NET. I mean, you can listen and start without specify any. Mar 14, 2014 at 21:06
  • Languages or toolkits might have defaults. Mar 14, 2014 at 21:46
  • The documentation does say "The maximum length of the queue of pending connections. If set to SOMAXCONN, the underlying service provider responsible for sockets will set the backlog to a maximum reasonable value.", so there is some OS default you can choose. I don't know what it is however. Aug 27, 2015 at 12:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .