[Twisted-Python] Communicating between listeners

tom dyson tom.dyson at torchbox.com
Wed Sep 29 11:22:32 EDT 2004


I'm new to Twisted, and network programming in general. Can anyone 
provide an example that might help me code the following functionality:

* Server listens on two ports, one TCP, one UDP
* Incoming UDP datagrams contain an identifying string
* A message is broadcast to all connected TCP clients whose username 
matches the UDP ID.

In particular, I can't work out how to access details of the current 
TCP clients - and trigger a new message to some of them - from the UDP 
listener.

Many thanks

Tom

-----------------+
tom dyson
t: +44 (0)1608 811870
m: +44 (0)7958 752657
http://torchbox.com





More information about the Twisted-Python mailing list