How to send/receive file in iphone sdk using xmpp framework ?
Currently i am using XEP-0065
classes, and use the following code:
ObjTURNSocket = [[TURNSocket alloc] initWithStream:((TestAppDelegate*)[[UIApplication sharedApplication] delegate]).xmppStream
toJID:chatuser.jid];
[ObjTURNSocket start:self];
And I am getting following response from the server:
<iq type="error" id="AB2ED567-B97F-4DFE-B789-7731A617C239" to="kapil@testweb/6df6dc96" from="jabber.org">
<query xmlns="http://jabber.org/protocol/disco#items"/>
<error code="404" type="cancel">
<remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>`
Any help or suggestion will be well appreciated.