in reply to Re^4: Building a chat server and client
in thread Building a chat server and client

I tried your script, and it needed
use Gtk2 qw (init'); use IO::Socket;
to get it to run. Then,
my $conn = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $por +t, Proto => 'tcp') or popup_err(1);
caused the error to popup. Remove the popup_err(1) and it seems to start.

I didn't try to debug it any further, because the tie %ready looked kind of complex to me.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum