Naveed Rafi
Naveed Rafi

Reputation: 2643

complete setup openfire with xmppframework on iphone

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?

Upvotes: 3

Views: 2406

Answers (1)

Marc
Marc

Reputation: 596

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.

Upvotes: 0

Related Questions