PDA

View Full Version : QSocket like blocking socket



CPPProger
15th June 2020, 00:15
Hello, friends!

I written in QSocket and blocking methods


waitForConnected ()
waitForBytesWritten ()
waitForReadyRead ()


the application is working. But, i see warning


QObject :: connect: Unable to connect (null) :: destroy () with QHostInfoLookupManager :: waitForThreadPoolDone ()


What problems might arise from this warning? How to disable it correctly? I can't use QCoreApplication in my library.

P.S. Advise best practices on the use of blocking sockets? Maybe there are examples somewhere?