PDA

View Full Version : One example about QXmppTransferManager::setProxy() for QT



davinciomare
8th October 2016, 20:08
I need to use one proxy with QXmppTransferManager::setProxy()
I include this using this

manager = new QXmppTransferManager;
manager->setProxy();//JID OF MY PROXY SOCKS
cliente.addExtension(manager);

But i need to include Jid ¿What is Jid? someone know about this?
reference:
http://doc.qxmpp.org/qxmpp-0.7.5/classQXmppTransferManager.html

davinciomare
8th October 2016, 23:04
i think it's better ftp or https to send files in one chat.

jefftee
8th October 2016, 23:07
But i need to include Jid ¿What is Jid? someone know about this?
Reading the doc you linked to, my guess is it is a job identifier that *you* specify. What have you tried? Did you specify a value and get an error?

davinciomare
9th October 2016, 16:40
i am trying to use some type of proxy because the firewall block the transference of files. But i can include other technology

davinciomare
9th October 2016, 21:06
Probably solution: I was searching information and for example this page take support with socks5 and bosh. https://jabber.at/p/features-firewalls/

davinciomare
10th October 2016, 03:09
solved i'm implementing server client it's better sorry for this question it's not good i think