udp broadcast example, please

Matthias Baas baas at ira.uka.de
Sat Dec 20 07:12:08 EST 2003


On Wed, 17 Dec 2003 13:22:25 +0200, Torsten Rueger
<torsten.rueger at hiit.fi> wrote:
>sorry, but I've searched and searched to find exact information on how 
>to do a simple udp broadcast client/server, but can find it:
>
>I want to have a thread pinging (very small message) and possibly the 
>same thread receiving maybe with a 1 second timeout. And the same code 
>should be able to run as multiple instances on the same machine.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52302

There's an example how to send and receive UDP packets.

- Matthias -





More information about the Python-list mailing list