Questions tagged [gloox]

gloox is a portable high-level Jabber/XMPP library for C++ .

gloox is a portable high-level Jabber/XMPP library for C++ .

gloox is fully compliant with the XMPP RFCs, supporting all of the XMPP features (including SRV lookups, TLS, SASL, roster management, and privacy lists), and implements several JEPs that make it ideal for writing any kind of Jabber/XMPP client or component.

31 questions
4
votes
1 answer

SIGSEGV simple gloox client

I've been trying to use gloox 1.0.14 for the first time and I think I'm using the most minimal example there is but poorly I get a SIGSEGV. Can anyone reproduce this problem or tell me why this happens and what I'm doing wrong? It's seems to be that…
noob
  • 8,982
  • 4
  • 37
  • 65
4
votes
1 answer

Possible causes of a deadlock in socket select

I have a jabber server application an another jabber client application in C++. When the client receive and send a lot of messages (more than 20 per second), this comes that the select just freeze and never return. With netstat, the socket is still…
ruddy
  • 135
  • 4
  • 12
2
votes
1 answer

how to sign in to facebook chat with gloox

I used gloox to chat with my facebook buddy, and the authentication mechanisms is X-FACEBOOK-PLATFORM. Now I use OAuth1.0 facebook sdk, but facebook will change the sdk to OAuth2.0. and I do not know how to sign in to facebook chat with the access…
2
votes
3 answers

XMPP client library gloox - linker cannot find symbol

I am totally stumped with this issue and cannot really figure how to solve this problem. Basically, I compiled the gloox library in Visual Studio 2010 (which worked totally fine with a minor tweak) and got a .lib and a .dll file. I am now trying…
verma
  • 1,285
  • 1
  • 13
  • 19
2
votes
0 answers

Why gloox standard example src/examples/ft_send.cpp does not work in my machine?

I'm using code example from here And running it in Debian as g++ -o tr ft_send.cpp -lgloox -pthread ./tr example@gmail.com/resource ./file Then it sends me request to accept file and I press accept. But then it prints log: level: 0, area: 131072,…
Maria
  • 515
  • 4
  • 17
2
votes
1 answer

Using Gloox with Visual Studio 2010

I am trying to use the gloox library (C++) to create a Windows XMPP application. It seems simple enough, except I don't know how to import gloox into Visual Studio 2010 so I can include it in my application project. I've looked at the instructions…
Mark Piecis
  • 103
  • 1
  • 5
1
vote
0 answers

Going to gloox from Twisted. Getting access to full mesage node?

I'm making a Python application communicating through XMPP/jabber to a C++ app. On the Python end, I used Twisted. What I really like about Twisted is the ability to directly receive/send the "message" XML node and do whatever I want with it. (I.E…
JCMS
  • 128
  • 9
1
vote
1 answer

How to use another event loop in win32 gui application

I am new to win32 api progamming, and I am tring writing a xmpp client for windows platform, using win32 api and gloox xmpp library. gloox has its own event loop, while windows GUI has message loop too. I am not very clear how to use these two loops…
zhuo.quan
  • 63
  • 7
1
vote
0 answers

Gloox library receiving blank messages from Google Hangouts

I'm having a difficult problem with Google Hangouts and my XMPP client which uses the Gloox library, where the former is literally sending blank messages to the latter. Here is an excerpt from the raw log files: 66 2016-Mar-13…
Phobos D'thorga
  • 439
  • 5
  • 17
1
vote
1 answer

Getting list of contacts with gloox

I have followed the included example within the gloox source code but cannot get it to work, nor can I find ANYWHERE through Google that's an example of what I am after. I desire a way to obtain the list of added XMPP contacts (roster, I believe?)…
Phobos D'thorga
  • 439
  • 5
  • 17
1
vote
0 answers

Openfire gloox XEP-0013

I am trying to implement XEP-0013 using Openfire and the gloox lib. In my XMPP client, I am calling the checkSupport() API through angloox::FlexibleOffline object in an OnConnect() event. handleFlexibleOfflineSupport says it is supported, but I…
Mandy
  • 11
  • 1
1
vote
1 answer

What can I use instead of , because it was removed in gloox 1.0

I need to send binary data encoded by base64. I'm using C++ gloox library, so I can use #include fo encoding. First I was going to use for sending and receiving data, but now it turn out to be…
Maria
  • 515
  • 4
  • 17
1
vote
1 answer

How can I get active rooms list with gloox lib?

I am writing an xmpp-based chat client using gloox 1.0. I can not find out the way to use gloox to get active rooms list on the server (rooms that other users have created). I use openfire as my local server. How can I do that?
Thuyen Thi
  • 11
  • 1
0
votes
1 answer

Send PUSH notification to Google Firebase by Gloox XMPP library

I'm try to send the PUSH notification to android device as the guide(https://firebase.google.com/docs/cloud-messaging/server#connecting), I'm using the Gloox library to send it, but the server respond me some unreadable data(\x15\x3\x1 ) from google…
0
votes
1 answer

XMPP Handshake Flow using Gloox C/C++

I am trying to perform XMPP Handshake Flow mentioned at https://developers.google.com/cloud-print/docs/rawxmpp. This allows the device to subscribe and receive notifications. As of now, I have explored the following options: 1) libcurl 2) Gloox…
ap6491
  • 805
  • 1
  • 10
  • 26
1
2 3