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
14
votes
2 answers

How to use XMPP over BOSH

So im a little confused about what excatly BOSH is. Is it a way to interact with the XMPP server using http? For example openfire uses BOSH at http://domain.com:7070/http-bind/ How do i use this URL ? What needs to be done?
Faisal Abid
  • 8,900
  • 14
  • 59
  • 91
14
votes
3 answers

XMPP (Openfire) Push Notifications Android

I really tried to find a solution to this problem but didn't. There are some threads related to this concept, but I didn't find a comprehensive solution. I have a server with Openfire which sends messages. When both users are online, there is no…
Max
  • 572
  • 2
  • 6
  • 23
14
votes
5 answers

XMPPFramework - Retrieve Archived Messages From Openfire Server

I am developing a chat app for iPhone using XMPP and openfire server,OpenFire server is storing all the chat history between users but When I try to retrieve the chat history for a particular user I get only the date and the number of chat messages…
Piyush Kashyap
  • 1,965
  • 1
  • 14
  • 16
13
votes
4 answers

How to determine the message status (read/unread) in chat?

How to determine the message status (read/unread). Chat is realized with the XMPP protocol.
enq
  • 131
  • 1
  • 3
13
votes
2 answers

XMPP whitelists?

We have an enterprise installation of QuickBlox (which implements XMPP), and would like to create mirrored accounts for all of our users on our QuickBlox server install. We also want to sync the networks our system's users have created using…
ruffin
  • 16,507
  • 9
  • 88
  • 138
13
votes
3 answers

How can I send an image on the web in an XMPP (Jabber) message?

For the XMPP interface for the Stack Overflow chat, I am currently taking the HTML of the chat messages and converting to valid XML, and setting that as the html child element of the XMPP message object. In my Mac OS X jabber client this was working…
Josh
  • 10,961
  • 11
  • 65
  • 108
13
votes
4 answers

What is the difference between Smack and aSmack?

I am not able to use Smack on Android whereas aSmack works perfectly? When compared the source code it looks somewhat similar, where does the difference comes from? What is the difference between Smack and aSmack?
SPB
  • 4,040
  • 16
  • 49
  • 62
13
votes
2 answers

amqp or xmpp for real time online games

Which of these technology suite for Multi user online game project? Project requirements: Able to handle 2k-5k user at any given time. client library for iphone and android (native, no javascript). client library for Microsoft Windows (most…
user381930
  • 181
  • 1
  • 1
  • 5
13
votes
1 answer

Push notifications in a local network

I need to implement Push Notifications for Android and iOS using my own server in a local network with no Internet access. More precisely, my users will have a mobile app (Android and iOS) which will connect to a local Server through a wireless…
Esparver
  • 1,515
  • 1
  • 15
  • 28
13
votes
3 answers

Google Hangouts and XMPP support

Had a question about Google's support for XMPP. I want to build a mobile chat client on top of google chat that can interoperate with google chat run from within Gmail or any other service. Would this application be possible to build since has…
samonderous
  • 649
  • 1
  • 10
  • 22
13
votes
14 answers

Potential other uses of a jabber server

Beside the obvious person to person instant message chat, What else have you used a Jabber server's functionality to enable? Edit: links to working code to really show it off are particularly useful - and will be more likely to be voted up.
Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
12
votes
4 answers

XMPP multiple sessions of the same user issue

I've implemented a chrome extension which allow to use XMPP chat over BOSH connection with punjab server running on a remote server. It is implemented using javascript Strophe library. The issue I'm running into is when I have multiple sessions of…
vian
  • 811
  • 2
  • 12
  • 27
12
votes
1 answer

Keep XMPP connection (using asmack) alive on Android

I'm developing an application that receives push notifications via XMPP ( I know C2DM, but it has some limitations and I can't use because of it ), the problem is the connection that after some time is garbage collected and I can't send push…
danilodeveloper
  • 3,840
  • 2
  • 36
  • 56
12
votes
2 answers

How to implement XMPP protocol in objective-C?

How to implement XMPP protocol in objective-C? I want to send & receive messages from Jabber server through XMPP. Thanks in advance.
Dilip
  • 266
  • 1
  • 3
  • 6
12
votes
5 answers

How to use Smack 4.2 for connecting to ejabberd?

I have changed my app to use Smack 4.2 replacing Smack 4.1 But I'm getting an error in the config.setServiceName(); The parameter to this method has been changed from String to DomainBareJid. I don't know how to use DomainBareJid and setServiceName…
Laxman Marothiya
  • 383
  • 3
  • 13