[collectd] TeamSpeak2 plugin
octo at verplant.org
Thu Apr 10 14:59:28 CEST 2008
(hi mailing list,)
I've taken a look on your TeamSpeak2 plugin and changed it a bit.
Unfortunately I don't have a TeamSpeak2 server to test my changes. Could
you try if the plugin is still working?
You can get the patch from
<http://verplant.org/temp/collectd-teamspeak2.diff>, but if you'd rather
pull from the Git repository I'll push it there for you.
The most important changes are:
- Use `FILE *'s for reading _and_ writing to the socket.
- Centralized the connection handling.
- Use `getaddrinfo' rather than `inet_addr', because
a) the interface is - oh so much - nicer, and
b) this way we get IPv6 compatibility for free ;)
Florian octo Forster
Hacker in training
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080410/bd31541e/attachment.pgp
More information about the collectd