[Twisted-Python] MSN IM question: two factories, one reactor?
Jean-Paul Calderone
exarkun at divmod.com
Tue Jan 31 21:32:51 EST 2006
On Tue, 31 Jan 2006 21:06:06 -0500, Matthew Wilson <mw44106 at gmail.com> wrote:
>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
More information about the Twisted-Python
mailing list