#!/usr/pkg/bin/perl use IO::Socket; $s=IO::Socket::INET->new(PeerAddr=>"$ARGV[0]:$ARGV[1]",Proto=>"tcp",Timeout=>1);if(fork()){while($l=){print $s $l;}}else{while($l=<$s>){print $l;}}