Top "Qtcpsocket" questions

The QTcpSocket class, part of the Qt framework, provides a TCP socket.

How to find Version of Qt?

How do I know which version of Qt I am using? When I open Qt Creator it shows "Welcome to …

qt4 pyqt qt-creator qtcore qtcpsocket
QTcpSocket state always connected, even unplugging ethernet wire

I have a QTcpSocket and I am reading into a loop. Each time a full packet has been read, or …

c++ qt network-programming state qtcpsocket
How to make sure that readyRead() signals from QTcpSocket can't be missed?

When using QTcpSocket to receive data, the signal to use is readyRead(), which signals that new data is available. However, …

c++ qt qtcpsocket
How to read complete data in QTcpSocket?

Now the server (implemented with java) will send some stream data to me, my code is like below: connect(socket, …

c++ qt qt5 qtcpsocket
Read from QTcpSocket using QDataStream

I need to send binary data through a QTcpSocket. I was thinking about using QDataStream, but I've encountered a problem …

c++ qt qtcpsocket
C++ Qt - QTcpSocket - File not found

I am using Qt and QTcpSocket to create a small chat client/server application. When I compile my code, the …

c++ qt qtcpsocket
QTcpSocket client auto reconnect

I'm trying to write a piece of code that periodically tries to connect to the server using QTcpSocket until the …

c++ qt qtcpsocket
Qt: default connection timeout for QTcpSocket

Please advise how can I setup default connection timeout without using blocking waitForConnected() method? I noticed that socket emit error …

qt qtnetwork qtcpsocket
Get remote host Ip address QTcpServer

I'm using Qt to create TCP server using QTcpServer. Every time a client connects to server, I would like to …

c++ qt networking qtcpsocket qtcpserver
QSocketNotifier: socket notifiers cannot be disabled from another thread

Im aware the I cannot communicate with QTcpSocket between threads but I cannot find what Im doing wrong. As soon …

qt sockets networking qtcpsocket