1edb6f5c3Sbluhm# The client writes a message to Sys::Syslog native method. 2edb6f5c3Sbluhm# The syslogd writes it into a file and through a pipe. 3edb6f5c3Sbluhm# The syslogd passes it via explicit IPv6 UDP to localhost. 4edb6f5c3Sbluhm# The server receives the message on its UDP socket. 5edb6f5c3Sbluhm# Find the message in client, file, pipe, syslogd, server log. 6edb6f5c3Sbluhm# Check that localhost gets resolved to the ::1 address. 7edb6f5c3Sbluhm 8edb6f5c3Sbluhmuse strict; 9edb6f5c3Sbluhmuse warnings; 10723ac965Sbluhmuse Socket; 11edb6f5c3Sbluhm 12edb6f5c3Sbluhmour %args = ( 13edb6f5c3Sbluhm syslogd => { 14*d1843228Sbluhm loghost => '@udp6://localhost:$connectport', 15edb6f5c3Sbluhm }, 16edb6f5c3Sbluhm server => { 17edb6f5c3Sbluhm listen => { domain => AF_INET6, addr => "::1" }, 18edb6f5c3Sbluhm }, 19edb6f5c3Sbluhm); 20edb6f5c3Sbluhm 21edb6f5c3Sbluhm1; 22