Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > e42472c47bf2868f641c948b8d308473 > files > 21

perl-POE-Component-Server-Syslog-1.200.0-3.mga4.noarch.rpm

#!/usr/bin/perl

use strict;
use warnings;

use IO::Socket::INET;

my $sock = IO::Socket::INET->new(
    PeerPort  => 4095,
    PeerAddr  => 'localhost',
    Proto     => 'udp',
    Broadcast => 1 )
or die "Can't bind : $@\n";

$sock->send("<1> sungo: pie");