XMPP:连接到 GTalk

发布于 2024-08-12 14:19:59 字数 91 浏览 3 评论 0原文

我正在使用 XMPP 尝试连接到 Gtalk,以从 PHP 页面将消息从我的其他 gtalk 帐户之一发送到我的主帐户。我收到一个错误,指出在超时之前无法连接。请指教。

Am using XMPP trying to connect to Gtalk to send a message from one of my other gtalk accounts to my main account from a PHP page. I get an error that its unable to connect before timeout. Please advise.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最近可好 2024-08-19 14:19:59

XMPP 具有不同的功能、身份验证方法: Gtalk 服务器要求:

  • 该服务托管在 talk.google.com 端口 5222(实际上 443 也可以工作)
  • 需要 TLS
  • 唯一支持的身份验证机制是 SASL PLAIN

请参阅 Google Talk 开发者 - 开放通信

XMPP has different feature, authentication methods: Gtalk server requires:

  • The service is hosted at talk.google.com on port 5222 (indeed 443 is working as well)
  • TLS is required
  • The only supported authentication mechanism is SASL PLAIN

Refer to Google Talk for Developers - Open Communications

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文