Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5941 questions
10
votes
2 answers

XMPP web chat: how to resolve multiple tabs/windows?

We have a site and we developed a chat system for it using strophe.js library and ejabberd XMPP server. We use session attachment that was initiated with PHP (using an in-house library). What we do is get the RID and SID from the PHP script, then…
putolaruan
  • 2,084
  • 2
  • 21
  • 32
10
votes
3 answers

XMPP and Android

Possible Duplicate: Android and XMPP: Currently available solutions I am trying to build a small XMPP client in Android. Any ideas on what library I can use? I have tried using the Smack API, but there are some issues with it, which makes it not…
Earlence
10
votes
1 answer

OS X ejabberd, New user register by XMPPFramework

I'm new for ejabberd. I want to add new user on server through my iOS App. I tried with many code that was find out from the Google but no one can solve my issue. I set module to…
iPatel
  • 46,010
  • 16
  • 115
  • 137
10
votes
3 answers

xmpp messages are lost when client connection lost suddently

I am using ejabberd server and ios xmppframework. there are two clients, A and B. When A and B are online, A can send message to B successfully. If B is offline, B can receive the message when B is online again. But when B is suddenly/unexpectedly…
xhsoldier
  • 575
  • 6
  • 31
10
votes
3 answers

Smack 4.1 No Response within reply timeout

I am using the following code in my android app: Thread d = new Thread(new Runnable() { @Override public void run() { SmackConfiguration.setDefaultPacketReplyTimeout(10000); XMPPTCPConnectionConfiguration config =…
harveyslash
  • 5,906
  • 12
  • 58
  • 111
10
votes
1 answer

XMPP iOS Framework detect internet disconnection issue with OpenFire server

I have implemented chatting application using XMPP iOS Framework with OpenFire server. Fortunately, application is running successfully but I am facing one issue of internet disconnection in application. When user is getting logout or went in…
Jayeshkumar Sojitra
  • 2,501
  • 4
  • 31
  • 44
10
votes
3 answers

XMPP Connection with Smack 4.1 on Android Studio

I am trying to do an XMPP Connection with Smack 4.1.0 rc1 from https://github.com/igniterealtime/Smack I followed this guide: https://github.com/igniterealtime/Smack/wiki/Smack-4.1-Readme-and-Upgrade-Guide importing the Gradle. Source code: package…
kobbycoder
  • 682
  • 2
  • 10
  • 33
10
votes
3 answers

Super simple XMPP server or advice for a simple custom Openfire component

I need a server to send and recieve XMPP messages from Android clients running a multiplayer game I'm writing. I picked XMPP because I don't want to long poll and Sockets can be an issue over the cellular network (Carriers may block them). I have…
gav
  • 29,022
  • 23
  • 65
  • 90
10
votes
3 answers

How to keep the groupchat room (MUC) existing all the time even if disconnected from the XMPP server?

I am developing a instant message module (part of J2EE web app) using openfire/jsjac within the protocol of XMPP (Jabber). The openfire users/groups management/tables has been redirected to our business database tables,which means I do not need to…
10
votes
7 answers

Create ejabberd user from PHP

I need to create an ejabberd user from a PHP script. I also need to be able to add the new user to a predefined shared roster. Should I just call ejabberdctl using exec() or is there a better way?
Andrew Ensley
  • 11,611
  • 16
  • 61
  • 73
10
votes
2 answers

Accepting chatroom invitation

I'm able to create a MUC using XMPPFramework and send user invitation requests to join that room by using the code below. // Creating AppDelegate *dele =(AppDelegate *) [[UIApplication sharedApplication]delegate]; xmppRoom = [[XMPPRoom alloc]…
Vishal Singh
  • 4,400
  • 4
  • 27
  • 43
10
votes
3 answers

How to get Openfire chat history on Android device with aSmack?

I am developing a chatting application, where user will chats with one of the domain expert's group member. user uses my android app and domain expert uses spark web for chatting. I made Openfire setup and Spark web setup and developed Android…
Ganesh K
  • 2,623
  • 9
  • 51
  • 78
10
votes
1 answer

Efficient external rostering with MySQL and ejabberd

Question Please note that the solution to this is directly below using Eugen's view idea! I'm writing a chat module for a PHP/MySQL user-driven site that allows two users to make friends, and have chosen eJabberd for the chat system. I've set up…
Will Morgan
  • 4,470
  • 5
  • 29
  • 42
10
votes
1 answer

best java jabber client library

What good/bad experiences do you have with java jabber libraries?
flybywire
  • 261,858
  • 191
  • 397
  • 503
10
votes
3 answers

XMPP FileTransfer - Why does the bytestreams protocol fail?

I'm doing file transfer via XMPP on both Android and iOS to a Spark client (Spark 2.6.3). I have successfully accomplished this on android (due to the nice libraries) but have yet to succeed on iOS. However, on both devices I have noticed that the…
Andy A
  • 4,191
  • 7
  • 38
  • 56