Date: Sat, 19 Jan 2013 15:21:10 +0100
From: "T.N.T." <t...@banza.net>
To: pyqt@riverbankcomputing.com
Subject: [PyQt] Windows-problem with QLocalServer/QLocalSocket
Hello
This is probably rather a windows-problem so I hope it is not too off-topic.
I'm experimenting with a little PyQt-app where one instance connects and
writes as client to another instance. That works fine in Linux, Mac Os,
and one Windows XP that I have tested. But on another box where a
Windows 7 Home is running, it fails. It connects but but then the server
part fails to read from the connection (waitForReadyRead() just
immediately returns False).
It turned out not to be a windows problem. I called waitForReadyRead()
with 2000 as argument. When I increase it to 20000 it just works.
The docs say the unit of this argument is milliseconds but with 2000 the
function returns immediateley False; not after two seconds. Hmm, funny.
Regards, T.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt