The document you link to has a number of links to examples, one of them being http://qt-project.org/doc/qt-5/qtnet...t-example.html
You don't call readyRead(), it is a signal just like QSocketNotifier::activated(), so it is connected to a slot that then handles the incoming data.
QTcpSocket just makes the whole setup way easier.
SIGNAL and SLOT are just C-preprocessor macros, the compiler used by QtCreator and the one used by Visual Studio are both equally capable of handling those.
Sure, QtCreator can do some introspection for code completion during editing, but the connection will work regardless of the editor that was used to write it.
This is because the example uses blocking I/O, so it calls waitForReadyRead() instead of connecting to readyRead()
Cheers,
_
Bookmarks