博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
XEP 0055 (Jabber search) with iphone SDK
阅读量:6714 次
发布时间:2019-06-25

本文共 902 字,大约阅读时间需要 3 分钟。

原来是搜索的服务没有安装,

    [iq addAttributeWithName:@"to"stringValue:@"search.localhost"];

I am creating a XMPP sample on ios. What I am trying to do is search user over xmpp. I checked the opernfire server and it has the search plugin enabled. I gone through  and found the stanza. I also gone through  but did

I am done with xmpp connection and login. Now here are the details regarding to my server:

Host Name = 10.x.x.x; Server name = abcd;

The request format I got from the XEP 0055 link is:

Capulet

I don't know what characters.shakespeare.lit is. I assume this is the server name. So I created following request:

kapil

but I am not getting any response. I tried to replace the to value with following search.abcd and10.x.x.x but I am not even receiving any response IQ for this rquest.

转载于:https://www.cnblogs.com/guligei/p/3455627.html

你可能感兴趣的文章
js 获取高度
查看>>
网站测试中如何做好安全性测试
查看>>
js封装 与 js高级用法 问题集合
查看>>
Jquery简单的placeholder效果
查看>>
Linux makefile 教程 很具体,且易懂
查看>>
Swift来的正是时候
查看>>
NSCopying简析
查看>>
oracle union 用法
查看>>
发布一个参考ssdb,使用go类似的实现redis高性能nosql:ledisdb
查看>>
我的前端分页
查看>>
解决This system is not registered with RHN
查看>>
python抓取网络内容
查看>>
nginx(四)初识nginx日志文件
查看>>
poj1026(置换找循环节)
查看>>
[leetcode]Search for a Range
查看>>
leetcode - Merge Intervals
查看>>
Freertos之系统配置
查看>>
四年前从这里开始,四年后从这里继续-回归博客园
查看>>
node.js的作用、回调、同步异步代码、事件循环
查看>>
深入学习虚拟机类加载过程
查看>>