Hi,

Sockets on Windows are defined as SOCKET type which is basically Windows handle which is 64 bit on Windows 64.

At the same time, I see that QT socket classes (QAbstractSocket, QSocketNotifier, etc.) work with socket descriptors as "int".

How does not it cause casting problem?

To me, it seems like something very basic, that I can't understand here.
Thanks,
Mike