Closed naggie closed 6 years ago
Not sure I can think of any reason why not to go for the hashed announce port.
Only issue could be if we wanted to create a "listen" tool which displays all discovered services on a network (similar to tools for Bonjour/Zeroconf). However, this could just require that the user specifies the service name when "listening".
We just need to make sure that the process of going from service name to port number is clearly defined.
whoops...
Agreed -- lots of tests for that.
I'll put it on ice for a while. If we see issues with too much traffic for a uC to handle we can re-open it; perhaps we should blast an ESP with 1000 devices and see what happens....
The initial implementation had an announce port, calculated from a CRC32 of the service name resulting in a port within a known range.
Advantages:
Disadvantages: