PDA

View Full Version : QXmppTransferJob



davinciomare
8th October 2016, 13:49
Hi when i actÃ*vate QXmppTransferJob in the main of my program all time the firewall intercept this connection. Some way to include some message or to do alone for avoiding this alert.. I am doing one chat in xmpp servr and client. My doubt is for example in this function:

void MainWindow::llegadaDatosArchivo(QXmppTransferJob* transferencia){
/** Función invocada para recibir un archivo enviado por el cliente **/
archivoRecibido = new QFile(directorio.path() + "/" + archivo);
archivoRecibido->open(QFile::WriteOnly);
transferencia->accept(archivoRecibido);

}
I can include in the function some type like QXmppMessage &mensaje for waiting the client send me the message and then... start trasfering files. Something like that.
Thx in advance.

anda_skoa
8th October 2016, 14:02
Is there an actual question in there?

Cheers,
_

davinciomare
8th October 2016, 14:07
sorry again the question is bad wrote i will think more about and then post the real issue sorry again!

davinciomare
8th October 2016, 16:59
sorry wrong post

jefftee
8th October 2016, 19:46
sorry wrong postThis seems suspiciously the same as your other post that I have already responded to...