[Qt-interest] Why Bus error clientSocket->waitForConnected()?
Thiago Macieira
thiago at kde.org
Sun May 2 17:15:58 CEST 2010
Em Domingo 2. Maio 2010, às 11.52.26, Gabriele Kahlout escreveu:
> I don't understand
> waitForNewConnection() is an alternative to listen() or should the former
> go after the latter, as in my code?Without listen() there is no way to set
> the listening HostAdress and port for the tcpServer.
waitForNewConnection() should appear after listen(), as you may have
discovered, because you have to have listen()
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100502/372327e5/attachment.bin
More information about the Qt-interest-old
mailing list