Problem receiving UDP broadcast packets.

Sherm Pendley sherm.pendley at
Wed Apr 20 12:07:21 CEST 2011

Grant Edwards <invalid at invalid.invalid> writes:

> 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 looked at the source for Apple's Bonjour?


Might be interesting to see how it does announcement/discovery. Or maybe
just use it directly, if this happens to be a case of "gee, I didn't
know that wheel had already been invented." :-)


Sherm Pendley
Cocoa Developer

More information about the Python-list mailing list