[Twisted-Python] An XMPP client with SSL support

Ralph Meijer twisted at ralphm.ik.nu
Thu Sep 17 10:33:43 EDT 2009

On Wed, 2008-08-27 at 17:31 -0400, Pedro Sanchez wrote:
> Hello,
> I have a sample XMPP client with the following structure:
> from twisted.words.protocols.jabber import client, jid
> from twisted.internet import reactor
> ...
> factory = client.basicClientFactory(myJid, myPasswd)
> reactor.connectTCP(host,5222,factory)
> reactor.run()
> It works well, I can connect to the XMPP server. But I would appreciate
> if some one could give me some hints on what's required to get the
> client to connect using a secure SSL link.

Use client.XMPPClientFactory instead, and make sure you have pyOpenSSL


More information about the Twisted-Python mailing list