Super Timecode Converter V1.9.4
dbserver connection handling
Two small changes to how STC manages its TCP connections to the CDJ dbserver ports (1051 on NXS2, 1052 on CDJ-3000).
1. Cache discovered db port per player
The dbserver port for each CDJ is now cached after the first successful discovery on port 12523. Previously every reconnect repeated that discovery handshake before opening the real socket. The port doesn't change for a given CDJ, so this was wasted TCP traffic. The cache is cleared if a player disconnects via invalidatePlayer.
2. Polite dbserver teardown on close
When STC closes its connection to a CDJ's dbserver, it now sends the protocol-level teardown message (magic TxID 0xfffffffe, type 0x0100, zero arguments) before closing the TCP socket. The CDJ then closes the connection from its side.
Files Changed
DbServerClient.h— Cached db port per player IP; polite dbserver teardown before socket closeMain.cpp— Version bump to 1.9.4README.md— Version bump