Qt. Not read data from the socket.
Hello. I have a problem with reading data from a socket. I work with a mrim Protocol. After reviewing the behavior of the Protocol in the sniff I realized that when connecting to the server mrim.mail.ru it returns the server to connect and no further authorization, etc. now, I connect to mrim.mail.ru then on the basis of examples from the book and read data from the socket (should be the server and port for authentication), but when I brought them in QTextEdit info, I have nothing displayed. Please tell me what the problem is. Here is the piece of code from the class:
Qt Pro can not say anything, ncat reads, and the socket is immediately closed by the mrim avp@avp-ubu1:~/src/ig/web-agent$ ncat mrim.mail.ru 188.8.131.52 2042:2041 avp@avp-ubu1:~/src/ig/web-agent$ But this information is unlikely to help. - 01-11-2012 в 02:03:06
And the slots to the signals who will hang?
Answered: 01-11-2012 в 09:55:58