summaryrefslogtreecommitdiffstats
path: root/.tag
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-02-04 13:43:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-07 12:59:57 +0100
commit85e9ce386d2d931617f3c0d76acd4ca4165cb81d (patch)
tree404fd9907a34f62801c918195b41c8816d23fdda /.tag
parent477d9f450a1e9767dbf10f4c040e994231674a1f (diff)
QBluetoothServer fixes
1.) If QBluetoothServer::listen(QBluetoothUuid,QString) fails during service registration we have to ensure that the Server doesn't remain in listening state. 2.) 29de876f55dc96748fdca8dd3fef0c873791796f sets the socket descriptor to -1 when closing the QBluetoothSocket. QBluetothServer treats a value of -1 as error and aborts any call to listen(). This implies that any call to listen() after the first close() would always fail. This patch adds some redundancy and first tries to recreate the socket and only if the re-creation failed exists with an error. 3.) Catch case when user calls listen() on an already listening server. Documentation has been updated to document the behavior. Change-Id: I2df13500e74a9741017f7404f0e0c477c96d5356 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions