[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Windows-problem with QLocalServer/QLocalSocket
From:       "T.N.T." <tnt () banza ! net>
Date:       2013-01-22 18:09:40
Message-ID: 50FED5E4.6080802 () banza ! net
[Download RAW message or body]

> Date: Sat, 19 Jan 2013 15:21:10 +0100
> From: "T.N.T." <tnt@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic