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

How to Kick the User or Member from XMPPRoom

I implemented the following code for kicking the user from XMPPRoom. I used XMPPFramework. See below code NSXMLElement *destroy = [NSXMLElement elementWithName:@"iq"]; [destroy addAttributeWithName:@"type" stringValue:@"set"]; [destroy…
shoaib
  • 21
  • 4
2
votes
1 answer

Parsing ASCII characters with Erlang

Confused with what parsing needs to be done and at what end client/server. When i send an Umlaut 'Ö' to my ejabberd, it is received by ejabberd as <<"195, 150">> Following this i send this to my client as Push notifications (via GCM/APNS…
bit_by_bit
  • 337
  • 2
  • 14
2
votes
1 answer

how ot get lastactivity using openfire server and asmack in android

LastActivity lastActivity = new LastActivity(); lastActivity.setTo(mpresence_array.get(i)+"@ip-108-62-33-145.secureserver.net/Smack"); long seconds = lastActivity.lastActivity; Log.d(Tag,"Last Seen by : "+seconds); But it will return -1 only I am…
Nani536
  • 25
  • 7
2
votes
2 answers

SASLException not authorized using smack 4.1.1

I´ve got a problem to log in to jabber server using Smack 4.1.1. I am successfully connected to the jabber server, but at the time I try to login, it fails with exception. I googled a lot for days, but it seems that no solution on SO or anywhere…
Opiatefuchs
  • 9,800
  • 2
  • 36
  • 49
2
votes
2 answers

sendxmpp not authorized failure (Error AuthSend)

I'm trying to send a Google Hangout message using sendxmpp from the shell on a linux machine. For this i've installed the latest sendxmpp (1.24). Everything looks good, except the authentication fails. This is the command that i use: echo "GTalk…
marty
  • 61
  • 1
  • 6
2
votes
2 answers

Block user in android using xmpp + smack + openfire

In my chat application. I am using Smack library and Openfire server. I want to block particular user. I am trying to implement a function which will block a particular user but its not work for me.and it will not give any error or exception. My…
Kinjal
  • 1,195
  • 4
  • 13
  • 24
2
votes
1 answer

Unable to send and receive XMPP messages

I am trying to send and recieve XMPP messages through SMack library in android. But failed to do the same. Even I successfully connected to server and get the online users also. But unable to send or receive text messages. Please suggest any…
Sanat Pandey
  • 4,081
  • 17
  • 75
  • 132
2
votes
1 answer

Parsing different languages with ejabberd

I have a situation. Working with an ejabberd module, i could successfully input English strings e.g. "test" which was initially parsed from an HTTP header as <<"test">>. However, now when i am trying different language inputs say Hindi or Hebrew, my…
Raina M
  • 123
  • 1
  • 6
2
votes
1 answer

How to remove single chat through xmpp in iOS?

I am working on chatting app in iOS using xmpp and ejabberd . I am not able to remove single message. Is this correct method - (void)removeResources:(NSSet *)value to remove chat? And what parameter I need to remove chat? Or do I need to remove…
Krutarth Patel
  • 3,407
  • 6
  • 27
  • 54
2
votes
0 answers

Attach connection with Strophe using Websockets

I was using BOSH to attach connection, but I'm deciding to use websockets the only problem is that the method to attach the connection is not implemented in the library. Is there any way to do it ?
Germanaz0
  • 914
  • 8
  • 18
2
votes
0 answers

ejabberd server broadcast message

In short, I want ejabberd server to send some messages to a group of user clients. the group of users may change. For example, the server send message to group 1, and then send different message to group 2. In other words, how to make ejabberd…
xhsoldier
  • 575
  • 6
  • 31
2
votes
3 answers

is XMPP still alive for iPhone?

I want to implement chat client for iphone using jabber/XMPP. The XMPP framework on google repository shows that it is depreciated. Does someone knows where to start for xmpp chat client for iPhone?
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
2
votes
2 answers

WebSocket support for ejabberd

I am looking to implement WebSocket communication via ejabberd xmpp server... The only module that I have found so far is this repository: ejabberd-websockets This repository has not been updated for 4 year so I do not feel very comfortable using…
rastko
  • 567
  • 9
  • 24
2
votes
1 answer

Trying to register for XMPP

I am trying to create an account and then login into my XMPP server. I have gotten this far: try { System.out.println("trying to register for XMPP"); XMPPTCPConnectionConfiguration config =…
CantThinkOfAnything
  • 1,129
  • 1
  • 15
  • 40
2
votes
3 answers

XMPP register new user

I am having lots of trouble with XMPP, I am new to it and all the examples that I have found already have an account with which they connect and then do things. My problem concerns new users. Someone who does not have an account needs to be able to…
CantThinkOfAnything
  • 1,129
  • 1
  • 15
  • 40
1 2 3
99
100