I use QTcpServer from the Qt-Framework with C++.
I started it with
ret = tcpServer->listen(QHostAddress::Any, 9871)
With
QHostAddress serverAddress () const
I retrieve the Address from it. Which is 0.0.0.0. In my opinion it should listen on more than one address (like 127.0.0.1 and the LAN Address).
Is there a way to retrieve more than one address from this class?