Problem receiving UDP broadcast packets.

Chris Angelico rosuav at
Tue Apr 19 20:53:02 EDT 2011

On Wed, Apr 20, 2011 at 10:09 AM, Grant Edwards <invalid at invalid.invalid> wrote:
> The management program can then send another broadcast packet to
> configure the IP address of a device. After that, the management
> program switches over to normal unicast TCP and UDP protocols (HTTP,
> TFTP, etc.) to set up the device.

Wonder if it would be possible to (ab)use DHCP for this. If every
device registers itself with a central DHCP server, you could query
that to find out what's around, and configuring of IP addresses would
then be out of your hands.

Or can you simply use a stupid netmask like /1 that picks up all the
IP ranges? That way, the source-IP check wouldn't fail.

Chris Angelico

More information about the Python-list mailing list