laedri
18th October 2010, 13:00
hello,
im working with QTCreator on Windows ultimate 64 bit edition. im trying to read data from qtcpsocket every 20ms. but i see a delay which is increasing more as the time pass.
i was working with ex method: writing my own socket class inherited from abstractsocket class. then i added qthread to this (inheriting from qthread again). those 2 ways didnt work.
then i saw qthread is no longer abstract:
http://labs.qt.nokia.com/2007/07/05/qthreads-no-longer-abstract/
http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/
http://labs.qt.nokia.com/2006/12/04/threading-without-the-headache/
and i tried applying this method and reading but the delay still occurs.
im attaching zip files of my whole projects.
any ideas, advices?
im working with QTCreator on Windows ultimate 64 bit edition. im trying to read data from qtcpsocket every 20ms. but i see a delay which is increasing more as the time pass.
i was working with ex method: writing my own socket class inherited from abstractsocket class. then i added qthread to this (inheriting from qthread again). those 2 ways didnt work.
then i saw qthread is no longer abstract:
http://labs.qt.nokia.com/2007/07/05/qthreads-no-longer-abstract/
http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/
http://labs.qt.nokia.com/2006/12/04/threading-without-the-headache/
and i tried applying this method and reading but the delay still occurs.
im attaching zip files of my whole projects.
any ideas, advices?