1# test divert-reply with tcp 2# create a divert-reply out rule on the remote machine 3# client writes into TCP stream and reads from it on the remote machine 4# server writes into TCP stream and reads from it on the local machine 5 6use strict; 7use warnings; 8 9our %args = ( 10 protocol => "tcp", 11 client => { func => \&write_read_stream }, 12 server => { func => \&write_read_stream }, 13 divert => "reply", 14); 15