summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2006-02-21 18:05:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2006-02-21 18:05:29 +0000
commit16bec739040ad37b629faf7716ebf429b7957c7c (patch)
tree93521fea69e026931019120a53b4da7940064ca2 /ace
parent4d4dc49485fd6d9d98ac13c858eba6c44d96abbb (diff)
downloadATCD-16bec739040ad37b629faf7716ebf429b7957c7c.tar.gz
ChangeLogTag:Fri Feb 17 08:15:57 2006 Douglas C. Schmidt <schmidt@cse.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/Asynch_Acceptor.h4
-rw-r--r--ace/Default_Constants.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ace/Asynch_Acceptor.h b/ace/Asynch_Acceptor.h
index 3664a04c673..e8cb490794d 100644
--- a/ace/Asynch_Acceptor.h
+++ b/ace/Asynch_Acceptor.h
@@ -72,7 +72,7 @@ public:
* associated @c ACE_Service_Handler::addresses() method
* after any call to @c validate_new_connection() and prior
* to the @c open() hook method call.
- * @param backlog Optional, defaulting to @c ACE_DEFAULT_BACKLOG (which
+ * @param backlog Optional, defaulting to @c ACE_DEFAULT_ASYNCH_BACKLOG (which
* can be adjusted in your platform's @c config.h file).
* Specifies the listening backlog for the listening socket.
* @param reuse_addr Optional, indicates whether the @c SO_REUSEADDR
@@ -109,7 +109,7 @@ public:
virtual int open (const ACE_INET_Addr &address,
size_t bytes_to_read = 0,
int pass_addresses = 0,
- int backlog = ACE_DEFAULT_BACKLOG,
+ int backlog = ACE_DEFAULT_ASYNCH_BACKLOG,
int reuse_addr = 1,
ACE_Proactor *proactor = 0,
int validate_new_connection = 0,
diff --git a/ace/Default_Constants.h b/ace/Default_Constants.h
index f3011c86da6..945e9ff3513 100644
--- a/ace/Default_Constants.h
+++ b/ace/Default_Constants.h
@@ -74,6 +74,10 @@
# define ACE_DEFAULT_BACKLOG 5
# endif /* ACE_DEFAULT_BACKLOG */
+# if !defined (ACE_DEFAULT_ASYNCH_BACKLOG)
+# define ACE_DEFAULT_ASYNCH_BACKLOG 5
+# endif /* ACE_DEFAULT_ASYNCH_BACKLOG */
+
# if !defined (ACE_DEFAULT_THREADS)
# define ACE_DEFAULT_THREADS 1
# endif /* ACE_DEFAULT_THREADS */