summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-02 10:31:42 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-02 10:31:42 +0200
commit14d1209640e3554c4284eab136f9932cfc441126 (patch)
tree50375e512e6f412cac57ec560c547ea170ea6253 /tcpsrv.c
parent25daa04902f2754a487973c4de707869d66b84c1 (diff)
downloadrsyslog-14d1209640e3554c4284eab136f9932cfc441126.tar.gz
rsyslog-14d1209640e3554c4284eab136f9932cfc441126.tar.xz
rsyslog-14d1209640e3554c4284eab136f9932cfc441126.zip
added a generic network stream server
(in addition to rather specific syslog tcp server)
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 02eee88e..3516b2e3 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -1,8 +1,11 @@
/* tcpsrv.c
*
- * Common code for plain TCP based servers. This is currently being
+ * Common code for plain TCP syslog based servers. This is currently being
* utilized by imtcp and imgssapi.
*
+ * NOTE: this is *not* a generic TCP server, but one for syslog servers. For
+ * generic stream servers, please use ./runtime/strmsrv.c!
+ *
* There are actually two classes within the tcpserver code: one is
* the tcpsrv itself, the other one is its sessions. This is a helper
* class to tcpsrv.