[Interest] IPV6 not working
Etienne Sandré-Chardonnal
etienne.sandre at m4x.org
Fri Mar 22 23:53:51 CET 2013
Thanks for the info!
Maybe the first good reason to switch to Qt5 for my particular needs, damn...
I managed to work around this by starting two QTcpServers. However,
this may not work on all systems according to this (old) post :
http://lists.trolltech.com/qt-interest/2008-11/thread00055-0.html
Etienne
2013/3/22 Giuseppe D'Angelo <dangelog at gmail.com>:
> On 22 March 2013 23:34, Etienne Sandré-Chardonnal
> <etienne.sandre at m4x.org> wrote:
>> I got it... In fact, I just learned that it's not possible to listen
>> on both IPv4 and IPv6 with the same socket, and that QHostAddress::Any
>> means only IPv4
>
> Note that this has changed in Qt 5. "Any" now really means both IPv4
> and IPv6 on a dual-stack machine.
> --
> Giuseppe D'Angelo
More information about the Interest
mailing list