batileon
28th October 2008, 10:07
I m now porting code from QT3 to QT4.
In the past(QT3), my tcp client program works fine. However after changing from QSocket to Q3Socket, I found that the connection to the server program failed.
I found that it's something related to the establishment of the connection, since I found that signal of hostFound() had been emitted only, but NOT the connected() signal.
Can anyone tell me what's going on?
How can I correct this problem, and furthurmore, should I use QTcpSocket instead(I tried that but the same result is obtained)?
In the past(QT3), my tcp client program works fine. However after changing from QSocket to Q3Socket, I found that the connection to the server program failed.
I found that it's something related to the establishment of the connection, since I found that signal of hostFound() had been emitted only, but NOT the connected() signal.
Can anyone tell me what's going on?
How can I correct this problem, and furthurmore, should I use QTcpSocket instead(I tried that but the same result is obtained)?