in reply to Re: Re: Re: Win32::Gui + Threading?in thread Win32::Gui + Threading?
On button click->add timer to do subroutine A. sub A() { if(socket != EOF) { open socket, read line. } else { kill timer. } } [download]