udp broadcast example, please

Jp Calderone exarkun at intarweb.us
Thu Dec 18 09:31:13 EST 2003


On Thu, Dec 18, 2003 at 10:24:30AM +0200, Torsten Rueger wrote:
> On Wednesday, Dec 17, 2003, at 17:27 Europe/Helsinki, Jp Calderone 
> wrote:
> 
> >
> >  No threads, but maybe it's good enough anyway:
> 
> Thanks for trying to help. But really this is very incomplete, missing 
> all read or write calls to the socket.

  Huh?  It works fine.  If you run it, it will send and receive packats. 

> And I've tried, with just that SO_BROADCAST option I do not receive the 
> stuff I send, and in fact with just that option, I can't even send.
> 
> But thanks for the pointer to twisted.
> 

  You're welcome.

> [snip example]

  Jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20031218/41ed58f4/attachment.sig>


More information about the Python-list mailing list