[Twisted-Python] An XMPP client with SSL support
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. Thanks, -- Pedro
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 installed. ralphm
participants (3)
-
Pedro I. Sanchez
-
Pedro Sanchez
-
Ralph Meijer