in reply to Re^2: How to introduce threading in socket communication
in thread How to introduce threading in socket communication
Without thread the gui is hanging and not scrollable and usable. Hence trying to introduce thread so that the gui does not hang ...
Then why does the OP talk of "But now I want this to be done in a 2-threaded mechanism, where every new connection should start a new thread to accept the data."? (Besides that saying "a 2-threaded mechanism" and "every new connection should start a thread" in the same sentence is very confused; and that the OP code showing nothing to do with Tk.)
You have a concurrent server which could be wrapped up into a function.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to introduce threading in socket communication
by simonz (Sexton) on Oct 03, 2013 at 17:19 UTC | |
by BrowserUk (Patriarch) on Oct 03, 2013 at 18:40 UTC |