in reply to Re^2: Need help in using threads in Tk
in thread Need help in using threads in Tk
So, create your thread first, before tkinit, then confine all your network code to the thread.
By the way, not to confuse you further, but Perl/Gtk2 will allow you to create threads after the GUI code is init'ed, but it still is a good rule to keep thread code and GUI code separate.
|
|---|