[Twisted-Python] MSN IM question: two factories, one reactor?
I want to write a chat bot that signs into MSN IM, then waits passively for users to send it messages. When the bot gets a message, it should just reply back to the sender. Here's where I'm struggling: it appears that I need to maintain a connection to a notification server AND a switchboard server. How to do this with only one reactor running? I'm new to twisted. TIA Matt
On Tue, 31 Jan 2006 21:06:06 -0500, Matthew Wilson
I want to write a chat bot that signs into MSN IM, then waits passively for users to send it messages. When the bot gets a message, it should just reply back to the sender.
Here's where I'm struggling: it appears that I need to maintain a connection to a notification server AND a switchboard server. How to do this with only one reactor running?
I'm new to twisted.
There is always one reactor. Nothing you can do has any bearing on this. It supports two connections as easily as any other number of connections. Jean-Paul
participants (3)
-
Jean-Paul Calderone
-
Matthew Wilson
-
Moe Aboulkheir