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