[Twisted-Python] Multicast Server and Client Question
stephen at thorne.id.au
stephen at thorne.id.au
Tue Jun 8 23:04:27 EDT 2004
On Tue, 8 Jun 2004 14:41:54 -0400, "Baillargeon, Sonny" <Sonny.Baillargeon at bmonb.com> wrote:
> Unfortunately, there is no connectMulticast class. How would I write to
> a Multicast group? Would I do a join to a Multicast group and write UDP
> packets? The connectUDP does not allow me to write to a multicast
> network and port.
did you try .write() on the return value of .listenMulticast? When I was doing
multicast stuff I basically did this:
reactor.listenUDP(0, Request()).write('broadcast\n', ('224.0.0.1', 9120))
Stephen.
More information about the Twisted-Python
mailing list