Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, July 2007
QSocket alternative


Message 1 in thread

hi,

i am doing client socket programming in qt-3.1 on linux. QSocket is best in qt 
to do socket programming easily. Are there any alternatives to do the 
same????   When i used QSocket, sometimes readyread signal fires only when i 
do some event(Press Alt-tab or moving mouse). when i didn't do any 
event(Didn't presses alt-tab) , then it fires after some time .



Can anybody have a idea, what's wrong???


Thanks and Regards,
Niranjan.

--
 [ signature omitted ] 

Message 2 in thread

Niranjan wrote:

> i am doing client socket programming in qt-3.1 on linux. QSocket is best
> in qt to do socket programming easily. Are there any alternatives to do
> the same????   When i used QSocket, sometimes readyread signal fires only
> when i do some event(Press Alt-tab or moving mouse). when i didn't do any
> event(Didn't presses alt-tab) , then it fires after some time

Check out QAbstractSocket and its derived classes. I have been using
QSocketDevice in Qt3 and that worked fine. But QAbstractSocket seems to be
the new way to go.

Arne

-- 
 [ signature omitted ]