projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b19ab
)
libcollectdclient: Improve documentation of lcc_listener_t.conn.
author
Florian Forster
<octo@collectd.org>
Tue, 2 May 2017 09:23:05 +0000
(11:23 +0200)
committer
Florian Forster
<octo@collectd.org>
Tue, 2 May 2017 09:23:05 +0000
(11:23 +0200)
src/libcollectdclient/collectd/server.h
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/collectd/server.h
b/src/libcollectdclient/collectd/server.h
index
38bc68f
..
ef6b792
100644
(file)
--- a/
src/libcollectdclient/collectd/server.h
+++ b/
src/libcollectdclient/collectd/server.h
@@
-48,7
+48,9
@@
typedef int (*lcc_network_parser_t)(void *payload, size_t payload_size,
/* lcc_listener_t holds parameters for running a collectd server. */
typedef struct {
- /* conn is a UDP socket for the server to listen on. */
+ /* conn is a UDP socket for the server to listen on. If set to <0 node and
+ * service will be used to open a new UDP socket. If >=0, it is the caller's
+ * job to clean up the socket. */
int conn;
/* node is the local address to listen on if conn is <0. Defaults to "::" (any