I want to know about Qt's implementation of QTcpSocket's ReadyRead signal. How is it implemented on Windows and on Linux? Using select(), poll(), epoll(), SIGIO or any other way? How does QTcpSocket know when to emit a ReadyRead signal?
Since Qt is open-source, you can look at the source code directly, and see for yourself.
They even have it posted online.
The OS-specific parts are (I think) implemented in qnativesocketengine_unix.cpp and in qnativesocketengine_win.cpp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With