Question about Sockets
Solved
General and Desktop
-
What local TCP adress should be displayed when no connection is up when you call QTcpSocket::localAdress()? And why do you want to use bind() at all for a QTcpSocket?
-
@v3v439bm0 have you checked documentation and examples for QUdpSocket?
-
This post is deleted!
-
QTcpSocket::connectToHost is an async connection. You won't get a local adress until it is connected...
-
This post is deleted!
-
@v3v439bm0 with the button Topic Tools.