Christopher King, 29.07.2011 02:32:
I have a socket Gui program. The only problem is that socket.recv waits for a response, which totally screws Tkinter I think. I tried making the timeout extremely small (it was alright if I didn't receive anything, I was excepting that a lot) but I think that screwed socket. Anyone have words of wisdom.
Most of the GUI main loops (including tk, I believe) have a way to hook in additional file descriptors and sockets that can be listened on, so that you get a normal event when data becomes available in them.
Stefan _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor