Well, the examples always use reactor.listenUDP(port,proto). Can I get rid of the listenUDP, since I don't want to listen to a port? I tried with just creating a protocol instance and using self.transport.write() inside it but then the transport was None. Sorry for being slow in grasping this, but the manual is very terse... /Torbjörn -----Original Message----- From: twisted-python-bounces@twistedmatrix.com [mailto:twisted-python-bounces@twistedmatrix.com] On Behalf Of Jp Calderone Sent: den 27 april 2005 00:13 To: Twisted general discussion Subject: RE: [Twisted-Python] Dynamic listening to UDP ports? On Tue, 26 Apr 2005 22:52:45 +0200, Torbjörn Einarsson <torbjorn@einarssons.se> wrote:
Thanks a lot!
A related question: how do I in the simplest way send UDP data to 10 different ports.
[snip]
Use the write() method. See the UDP howto: http://twistedmatrix.com/documents/current/howto/udp Jp _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python