mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-03 14:12:39 +02:00
A host cannot tell a run somebody is playing from one nobody has looked at in an hour, so it cannot end the second without guessing. The hub now answers the address socket with a second line, `viewers <n>`, counting clients that are streaming. Init reads it alongside the address and sends a new `viewers` message to the host when the count changes. A reader that takes only the first line gets the address exactly as before, a server that never writes the second line is still read, and a host that does not know the message skips it, so either end can ship first.