1# test divert-to with udp 2# create a divert-to in rule on the remote machine 3# client sends a UDP packet from the local machine 4# server receives the UDP packet at the remote machine 5 6use strict; 7use warnings; 8 9our %args = ( 10 protocol => "udp", 11 client => { func => \&write_datagram, noin => 1, }, 12 server => { func => \&read_datagram, noout => 1, }, 13 divert => "to", 14); 15