summaryrefslogtreecommitdiff
path: root/ace/TLI.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-11-21 00:14:46 +0000
committerSteve Huston <shuston@riverace.com>1997-11-21 00:14:46 +0000
commit82733e0b81c213371fbeec7c4e3c8e419288b239 (patch)
treea2d050c1a9ecafbe98bfa0596d29370ea6926cf1 /ace/TLI.h
parent7f24f9e50f3bacf9a85b8bb9baf34670783c1119 (diff)
downloadATCD-82733e0b81c213371fbeec7c4e3c8e419288b239.tar.gz
The TLI device name was changed from a hardcoded "dev/tcp" to a name
that can be set from a platform's config file (ACE_TLI_TCP_DEVICE). HP-UX's config sets this to /dev/inet_cots.
Diffstat (limited to 'ace/TLI.h')
-rw-r--r--ace/TLI.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/TLI.h b/ace/TLI.h
index 6ba333c9ca2..6e87c3e256b 100644
--- a/ace/TLI.h
+++ b/ace/TLI.h
@@ -22,6 +22,14 @@
#include "ace/Addr.h"
#if defined (ACE_HAS_TLI)
+
+// There's not a universal device name for TLI devices. If the platform
+// needs something other than /dev/tcp, it needs to be set up in the config.h
+// file as ACE_TLI_TCP_DEVICE.
+#ifndef ACE_TLI_TCP_DEVICE
+#define ACE_TLI_TCP_DEVICE "/dev/tcp"
+#endif
+
class ACE_Export ACE_TLI : public ACE_IPC_SAP
// = TITLE
// Defines the member functions for the base class of the