[solved] Can't connect to server - qxmpp lib +openfire
-
Hi, I'm new, so please be polite (I also do not know if I write in right place).
I want to write an app to connect to Openfire server. I'm using qxmpp library and c++ in Qt creator. Firstly I've tried to write simple app to find out if it connects to server. But it doesn't and I don't know why (I've tried to connect via spark client and it worked).
There is no information that there is any error, only what I know is that my client is not connecting to the server. Is there any way to check why my client is not connecting? Maybe here is somone who can help me?
Thanks for help
-
bq. Maybe here is somone who can help me?
Maybe there is, but generally you will have to provide at least some information about what you have actually done.
bq. There is no information that there is any error, only what I know is that my client is not connecting to the server.
Guessing that you are using the QXmppClient::connectToServer() call then there is an QXmppClient::error() signal and the QXmppClient::socketError() function.
-
Hi, I solved my problem. Partly this was my fault, because I do little mistake in getting data to connection configuration.