qt5base-lts/tests/auto/network
Thiago Macieira 9fb68a90af Fix bind+connect in both TCP and UDP
This has been known to be broken for a while. Now it works: you can bind
and you'll retain the port (and the file descriptor) for the connect
call. Incidentally, in fixing the binding for more than one IP for the
hostname (with event loop), this commit fixes the setSocketDescriptor
XFAIL.

[ChangeLog][QtNetwork] Fixed a bug that caused both QTcpSocket and
QUdpSocket to close the socket and lose any bound ports before
connecting. Now bind()/setSocketDescriptor() followed by connect() will
retain the original file descriptor.

Task-number: QTBUG-26538
Change-Id: I691caed7e8fd16a9cf687b5995afbf3006bf453a
Reviewed-by: Richard J. Moore <rich@kde.org>
2015-03-04 23:58:03 +00:00
..
access Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-04 13:44:29 +01:00
bearer Update copyright headers 2015-02-11 06:49:51 +00:00
kernel Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-02 09:23:07 +01:00
socket Fix bind+connect in both TCP and UDP 2015-03-04 23:58:03 +00:00
ssl QSslSocket test - adapt 'verifyClientCertificate' for Secure Transport 2015-02-13 20:43:09 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00