Help for this page
# setup MainWindow $mw # setup socket with timeout ... } $mw->after(1, \&myloop); MainLoop;