in reply to Re: TCP server: How to reject connections when busy?
in thread TCP server: How to reject connections when busy?
Thanks - that seems to be what is happening, but it differs from what some of the perl docs say. eg:
http://perldoc.perl.org/perlipc.html#Sockets%3a-Client%2fServer-Communication
"Listen The Listen parameter is set to the maximum number of pending connections we can accept until we turn away incoming clients. Think of it as a call-waiting queue for your telephone. "
or
http://docstore.mik.ua/orelly/perl/cookbook/ch17_03.htm
The numeric argument to listen is the number of un accept ed connections that the operating system should queue before clients start getting "connection refused" errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: TCP server: How to reject connections when busy?
by JavaFan (Canon) on Nov 29, 2011 at 23:58 UTC |