diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-01-17 18:31:39 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-05 06:20:01 +0000 |
commit | 2f9d49630d1b250bd8c9bb1202dc113fbb3cb20a (patch) | |
tree | 433b5da6b2ef983529a709498d03535d1b0120ef /src | |
parent | ba2b7b8e33635f29bae8e9e580b23a544de7727f (diff) |
Examples: fix network-chat in the presence of an IPv6 stack
Since we bind to QHostAddress::Any, the incoming packets are actually
IPv4-mapped IPv6 addresses and the operator== strict comparison was
failing. Instead, use isEqual(), which defaults to TolerantComparison.
Change-Id: Ic38ec929fc3f4bb795dafffd150ac6b3a0a7e3b2
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions