You may want to look at:

fortuneclient.py (non-threaded)
blockingfortuneclient.py (threaded)

That is in the PyQt4 examples/network directory.

These do exactly what I was describing.  The first has a timer that polls the 
socket and the second creates the socket in the thread.

You also may be interested in the loopback example:

http://doc.trolltech.com/4.4/network-loopback.html

This is in examples/network/loopback.py

Good lock.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to