in reply to Re^2: Tkx and tcp server
in thread Tkx and tcp server

That is right, but the example uses a file instead of a socket:
my $fh = Tkx::open("| @cmds <$null 2>\@1");