summaryrefslogtreecommitdiffstats
path: root/src/network/network.pro
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2016-06-03 10:39:46 +0200
committerOliver Wolff <oliver.wolff@qt.io>2016-06-13 06:13:07 +0000
commit0f6ededb157b3739b95c470f8dbf7b8bbb5a61cc (patch)
tree5332d5dc52c3e82b22f996feb5af710c921355d9 /src/network/network.pro
parentd4e98a9a3856d60d52d54870af8dcefa907acf92 (diff)
WinRT: Proper error handling in socket engine's "bind"
runOnXamlThread should always return S_OK (causes exceptions otherwise) so we need another way of error reporting to the outside (hr reference). A failed hr is reported to the outside (of the lambda) and interpreted as an unknown error. Specific error cases like the given address not being a local address or the given address being in use already are handled inside the lambda. The specificErrorSet variable is necessary in these cases so that the error is not overwritten by unknownError. Change-Id: I198d66fe97726d5127bf31e50c7eff3363d5259c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/network/network.pro')
0 files changed, 0 insertions, 0 deletions