in reply to Re: How to run multiple server processes under Tk?
in thread How to run multiple server processes under Tk?

Sweet,

I'm going to give that a try, it sounds promising. I'll post back my results....

  • Comment on Re^2: How to run multiple server processes under Tk?

Replies are listed 'Best First'.
Re^3: How to run multiple server processes under Tk?
by zentara (Cardinal) on Sep 20, 2005 at 17:55 UTC
    Great. I was thinking about it a little more, and thought about the problem of reading the socket in the thread, and passing the data back thru shared variables. I've yet to see a way in main, to read a filehandle (socket) in the thread. So you might have to work out a scheme of pushing your socket reads into a shared array in the thread, then in the Tk program, setup a timer to shift data off of the shared array. That is the way I would do it, but you may have luck finding a way to read filehandles cross-thread.

    I'm not really a human, but I play one on earth. flash japh