试图理解xmpp

发布于 2024-08-06 16:38:13 字数 106 浏览 1 评论 0原文

xmpp 是联合的。这是否意味着只要我连接到一台 xmpp 服务器 .example gtalk 服务器。从那里,我可以在发送“iq stanze”时与世界上任何外部 jabber 服务器进行通信?

xmpp is federated. does that mean that as long as i connected to one xmpp server .example gtalk server. from there, i can communicate with any external jabber server in the world when sending "iq stanze" ?

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

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

发布评论

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

评论(2

梦年海沫深 2024-08-13 16:38:13

是的。

它的工作原理就像 smtp 一样。 jabber id 包含 Jabber 域的名称。

jabber_nickname@domain 这样您的家庭 jabber 服务器就可以找到该域的 jabber IP 并传输您的消息和请求

Yes.

It works just like smtp. The jabber id contains the name of the Jabber Domain.

jabber_nickname@domain so your home jabber server can find the jabber ip of the domain and transfert your messages and requests

花落人断肠 2024-08-13 16:38:13

看,您可以与任何 jabber 服务器和 jabber 客户端进行通信,除非某些其他规则(例如隐私规则)禁止这样做。这不仅限于 IQ 节,而是所有类型的节(存在、消息、智商)。

因此,如果您在 jabber.org 上向您的朋友发送消息,则消息会从您的客户端传输到您的服务器,再传输到她的服务器,再传输到她的客户端(假设所有连接均已启动且处于活动状态)。

See, you can communicate with any jabber server and jabber client out there, unless some other rule, like a privacy rule, prohibits that. That is not restricted to IQ stanzas only, but all type of stanzas (presence, message, iq).

So, if you send a message to your friend on jabber.org, it travels from your client to your server, to her server, to her client, assuming that all connections are up and alive.

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