Qt QTcpSocket ReadyRead Signal Implementation

I want to know about the Qt implementation of the QTcpSocket ReadyRead signal. How is this implemented on Windows and Linux? Using select() , poll() , epoll() , SIGIO or any other way? How does QTcpSocket know when to emit a ReadyRead signal?

+4
source share
1 answer

Since Qt is open source, you can directly look at the source code and see for yourself.

They even have posted on the Internet .

OS specific details (I think) are implemented in qnativesocketengine_unix.cpp and in qnativesocketengine_win.cpp .

+2
source

Source: https://habr.com/ru/post/1480507/


All Articles