<br><br><div><span class="gmail_quote">On 7/8/06, <b class="gmail_sendername">Alec Matusis</b> &lt;<a href="mailto:matusis@matusis.com">matusis@matusis.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a question about using UDP in twisted. I hope people will forgive my<br>naiveté, since my background is in physics, not in CS, so I am self-taught<br>and may be missing something obvious.<br><br>I would like a server to send UDP broadcasts to multiple clients, where all
<br>clients receive the same broadcast.<br><br>&gt;From what I understood from<br><a href="http://twistedmatrix.com/projects/core/documentation/howto/udp.html">http://twistedmatrix.com/projects/core/documentation/howto/udp.html
</a><br>Multicast UDP section, one can have a client broadcast the same UDP packet<br>to multiple servers, each server listening on the same port for this<br>multicast.<br>This is unacceptable for me, since all of this must happen on the same
<br>machine, so I cannot bind multiple servers to the same port on one box. So I<br>am trying to implement a reverse scenario, where the server will do the<br>multicast to clients, but all clients and the server may (or may not) be
<br>running on the same box.</blockquote><div><br>actually you can, you need to read up on how MULTICAST works.<br>It isn't the same thing as uni-cast UDP.<br>You can have as many processes listening on a single MULTICAST UDP port as you like.
<br><br>ZeroConf / Apple Bonjour ( formerly Rendezous ) usings multicast udp to do just that.<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How can I do this in twisted? Could you give me and example? Thanks.<br><br></blockquote></div><br><br clear="all"><br>-- <br>If you don't know what you want, you probably need a nap.<br>