Qt 6.11 is out! See what's new in the release
blog
QTcpSocket usage
-
I am using QTcpSoket as a client to communicate with server. I provide a lsot for the signal "error" to indicate wether I got an error when connect to the server, it takes to much time to recevived the error signal. Is it avaliable to change timeout?
-
I am using QTcpSoket as a client to communicate with server. I provide a lsot for the signal "error" to indicate wether I got an error when connect to the server, it takes to much time to recevived the error signal. Is it avaliable to change timeout?
@coderKnight
If you are talking about a timeout duringconnectToHost()have a detailed read through https://forum.qt.io/topic/97149/can-i-set-the-timeout-value-on-qabstractsocket-connecttohost .