udp broadcast example, please
Torsten Rueger
torsten.rueger at hiit.fi
Fri Dec 19 03:51:44 EST 2003
On Dec 18, 2003, at 4:31 PM, Jp Calderone wrote:
>> Thanks for trying to help. But really this is very incomplete, missing
>> all read or write calls to the socket.
>
> Huh?
Sorry, maybe I was unclear: The code you post is not self contained,
far from it.
I have gone through twisted for a long time, and it's not so clear at
all what parameters to the socket calls are being used.
And that is really my question.
> It works fine. If you run it, it will send and receive packats.
No doubt. If you have twisted installed that is. But it doesn't get me
closer to doing it myself in those ten lines that it really only is.
Or would be if I knew them.
Maybe you or someone can clear a conceptual question for me: Can
several processes on the same machine receive udp packets on the same
port ?
Thanks
Torsten
More information about the Python-list
mailing list