开发者

complete setup openfire with xmppframework on iphone

开发者 https://www.devze.com 2023-03-14 07:17 出处:网络
I am new to openfire and xmppframework.开发者_运维问答 I have setup the openfire and xmppframe work on my system both are working fine individually. xmppframework working fine with googletalk.

I am new to openfire and xmppframework.开发者_运维问答 I have setup the openfire and xmppframe work on my system both are working fine individually. xmppframework working fine with googletalk.

But I can't find a way to connect my xmppframework with my openfire server.

Can anybody please tell me how to setup the openfire server with the xmppframework?


You don't need to make any specific changes to your Openfire server to work with Xmppframework, you just need to ensure that the xmpp.domain property matches your domain for the server - this is found under Server -> Server Manager -> System Properties on the Openfire admin panel.

Once you've done that, look at your Xmppframework code and where you configured it for Googletalk, change the line:

    [xmppStream setHostName:@"domain.com"];

Where domain.com should be whatever your server domain is (and is the same as the xmpp.domain property). You will need to do the same with [xmppStream setMyJID:@"..."] and the password.

If you're still having problems, please try to be more specific where you need help and what errors you're facing.

0

精彩评论

暂无评论...
验证码 换一张
取 消