Yuan Yijun (bbbush) wrote,
Yuan Yijun
bbbush

Jabber 与 Zeroconf

http://www.xmpp.org/extensions/xep-0174.html

fun part:

jabber 协议使用 _presence._tcp.local. 地址在 mDNS 中广播。

local mesh network 与 true XMPP network 要严格分开,不过也可以转发 - -

用 TXT records 来表达帐号信息

TXT records 中的 node, ver, ext 用来表达此 jabber 协议的 capability
phsh 用来表示 avatar 的 hash,然后用 NULL records 来更新 avatar - -

向 <registrar@xmpp.org> 注册新的 TXT records
Tags: 小东西, 转载
Subscribe

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • #thotcon badge?

    [root@m4700 ~]# esptool write_flash 0x00000 /home/yuan/tracking/thotcon0x9/tc0x9.bin esptool.py v2.3.1 Connecting.... Detecting chip type...…

  • Portfolio weighted averages

    Last week I got an assignment to make a small Java library for some often used portfolio calculations. A portfolio is a collection of holdings, each…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments