On 2011-04-20, Roy Smith <r...@panix.com> wrote: > In article <iol875$ah2$3...@reader1.panix.com>, > Grant Edwards <invalid@invalid.invalid> wrote: > >> I'm trying to implement a device discovery/configuration protocol that >> uses UDP broadcast packets to discover specific types of devices on >> the local Ethernet segment. The management program broadcasts a >> discovery command to a particular UDP port. All devices who get that >> packet are expected to answer regardless of thier current IP address. > > Have you considered what will happen if you have, say, 1000 such > devices, and they all respond at the same time?
Yes. Firstly, there will very rarely be more than a handful of such devices. Secondly, I plan on inserting a small, psuedo-random delay before replying. Thirdly, the management program typically repeats the discovery process a few times in case any packets get dropped. -- Grant Edwards grant.b.edwards Yow! Maybe we could paint at GOLDIE HAWN a rich PRUSSIAN gmail.com BLUE -- -- http://mail.python.org/mailman/listinfo/python-list