The QTcpServer is returning a null IP Address(0.0.0.0) even though the desktop client is getting the 127.0.0.1 IP. Why?
The QTcpServer is returning a null IP Address(0.0.0.0) even though the desktop client is getting the 127.0.0.1 IP. Why?
QTcpServer::hostAddress() returns whatever you specified at listen().
By default that is "any", or "0.0.0.0" in IPv4 terms.
Cheers,
_
Bookmarks