UI start QTcpSocket::listen invalid
-
I have made a file server base on QTcpSocket, it can work fine.
https://github.com/sonichy/QtFileServer/

But after I move it into ui to start, it has no response and no error.
https://github.com/sonichy/HTYServer

-
You are another victim of the awful fortuneclient/server examples. The community tried to make a better example for tcp comunication using Qt, you can find it on the qt wiki
- You are leaking every single
QSocket QThreaddoesn't work that way.QThreadin not the thread, it's a wrapper around the thread that lives in the thread that spaned it. All slots of aQThreadsubclass will be executed in the main thread- You are formatting an html document as a response to your client. Does your gui handle them, what is it supposed to do
- You are leaking every single
-
You are another victim of the awful fortuneclient/server examples. The community tried to make a better example for tcp comunication using Qt, you can find it on the qt wiki
- You are leaking every single
QSocket QThreaddoesn't work that way.QThreadin not the thread, it's a wrapper around the thread that lives in the thread that spaned it. All slots of aQThreadsubclass will be executed in the main thread- You are formatting an html document as a response to your client. Does your gui handle them, what is it supposed to do
- You are leaking every single