summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4b19ab)
raw | patch | inline | side by side (parent: f4b19ab)
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 |
index 38bc68f7340332efc8bda154f52767482370d053..ef6b792bb1f9c04f292c0d50003364061cc74fde 100644 (file)
/* 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