[ntcore] Add ability to announce mDNS for server (#8373)

We can use this as a new way of resolving addresses.
This commit is contained in:
Thad House
2025-12-16 22:26:56 -08:00
committed by GitHub
parent 7cb58962c5
commit e2d492ac3f
27 changed files with 133 additions and 56 deletions

View File

@@ -186,9 +186,9 @@ class RobotStarter:
msub = ntcore.MultiSubscriber(inst, [""])
if not isSimulation:
inst.startServer("/home/systemcore/networktables.ini")
inst.startServer("/home/systemcore/networktables.json", "", "robot")
else:
inst.startServer()
inst.startServer("networktables.json", "", "robot")
# wait for the NT server to actually start
for i in range(100):