mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
The OpenBikeControl mDNS emulator hit EADDRINUSE on its fixed port 36867 when "Connect directly over network" was toggled off then on: the un-awaited stop() hadn't released the socket before start() rebound it. - Bump prop submodule: ResilientTcpServer now supersedes a stale same-port instance before binding and defaults to walking ports (portAttempts: 5). - OBC advertises the ACTUAL bound port via mDNS instead of a hardcoded 36867, so it can walk to a free port and stay reachable (mirrors the DirCon emulator). Companion apps read the port from the SRV record. - Reset isStarted on every start-failure path so a genuinely blocked port no longer leaves the feature showing as "running". - Pin MyWhoosh Link to portAttempts: 1 (fixed-port contract preserved). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>