qt5base-lts/tests/auto/network/socket/qtcpsocket
Alex Trotsenko 6b6955c2ff QAbstractSocket: do not enable read notifications on TCP in bind()
In bind+connect scenario, rejected connection can trigger a read
notification while the socket is opened. But unlike UDP, reading from
the socket engine or emitting a readyRead() signal is not allowed for
the TCP socket in bound or connecting state.

To make a bind+connect scenario work properly, disable the read
notifications until a connection is established.

Task-number: QTBUG-50124
Change-Id: I7b3d015b0f6021fb9ff9f83560478aa5545f41f5
Reviewed-by: Richard J. Moore <rich@kde.org>
2015-12-24 14:05:26 +00:00
..
stressTest Update copyright headers 2015-02-11 06:49:51 +00:00
test fix usage of wince scope 2015-06-05 10:29:10 +00:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
qtcpsocket.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00
tst_qtcpsocket.cpp QAbstractSocket: do not enable read notifications on TCP in bind() 2015-12-24 14:05:26 +00:00