From: kazaam Date: 2007-10-07T22:45:11+09:00 Subject: Re: Can I do this perl code the same in ruby? hehe pushed shortcut for sending incedentially while writing the last message, here the missing part: $SIG{CHLD} = sub { while (wait() > 0) {} }; while (my $client = $proxy->accept()) { my $kidpid = fork(); die "cannot fork" unless defined $kidpid; if ($kidpid) { close $client; # no longer needed in parent next; } close $proxy; # no longer needed in child -- kazaam