D:\messaging>msgsrvr2.pl xxx.xx.com (10.156.6.45) : hi Free to wrong pool 1d1f228 not 222770 at D:/Perl/site/lib/Tk/MainWindow.pm line 55, line 1. #### sub client_connect { # Process a client connect - send our client either an "Ok" or # "Cancel" string, depending upon how the media change went. my($ns, $from) = @_; chomp( $_ = <$ns> ); my $mw = MainWindow->new; $mw->withdraw; $mw->bell; $mw->repeat(15 * 1000 => sub {$mw->bell}); my $reply = $mw->messageBox( -icon => 'info', -type => 'OKCancel', -message => "$from\n\n$_", -wraplength => '6i', -title => 'mediachanged', -background => '#ECFFFF', ); print $ns "$reply\n"; close $ns; exit; } # end client_connect