tjguk / networkzero

Making it easy for teachers to use simple networking in Python
MIT License
47 stars 14 forks source link

Discovery works poorly when synchronous with advertising #7

Closed tjguk closed 8 years ago

tjguk commented 8 years ago

As it stands, the discovery mechanism is interleaved with the advertising which means that, if we're waiting to discover something which hasn't yet been advertised, we won't hear it advertised! Possible solutions (all of which must work on 2.7 & 3.3+) include:

tjguk commented 8 years ago

Refactored the discovery loop considerably in caeaa075cee71ffb6b8e6c7474f6003b72305d74