Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当尝试连接到 gtalk 我得到这个错误:
查找 _xmpp-client._tcp.talk.google.com 时出错
代码在这里: https ://gist.github.com/1396074
不要将(不正确的)服务器名称传递到cl.connect()第 11 行。SRV 查找将转到_xmpp-client._tcp.gmail.comthen(取自 JID),这应该可以工作。传入服务器仅用于配置不正确的 XMPP 服务器。
cl.connect()
_xmpp-client._tcp.gmail.com