Files
VoelinClient/crates/proto/tsclientlib
selikhovandClaude Opus 5.5 5ebc6ceda5 Resolve TSDNS at the address's domain without an SRV record
A server published only through TSDNS, like ts.faumaray.ru (no SRV
record, its TSDNS at faumaray.ru:41144 answers another host and port),
could not be reached without typing the port: the resolver went from the
_tsdns._tcp SRV lookup straight to port 9987. The official client asks a
TSDNS server directly at the address's parent domains on 41144 in that
case, and so does Voelin now, in the official order: SRV _ts3._udp, TSDNS
(the servers _tsdns._tcp names, else the ones at each parent domain down
to the last two labels), then A/AAAA on 9987.

The steps start at once and their addresses come out in that order; each
step is given up after 10 s and a TSDNS server after 3 s, so a port a
firewall drops does not stall connecting. A port typed with the address
now overrides the port of every result. SRV records of weight 0, the usual
weight, were dropped by the weighted ordering and are kept now.

The lookups are injectable inside the module; the tests use a fake TSDNS
server on 127.0.0.1 and fake names, and the upstream tests that need the
internet are ignored. Recorded as local patch 11 in UPSTREAM.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 23:03:13 +03:00
..

TsClientlib docs.rs

tsclientlib is a library which makes it simple to create TeamSpeak clients and bots.

For a full client application, you might want to have a look at Qint.

If more power over the internals of a connection is needed, the unstable feature can be enabled. Beware that functionality behind this feature may change on any minor release.

The base class of this library is the [Connection]. One instance of this struct manages a single connection to a server.

License

Licensed under either of

at your option.