Net::SNMP::HostInfo::UdpEntry - An entry in the udpTable of a MIB-II host


Net-SNMP-HostInfo documentation  | view source Contained in the Net-SNMP-HostInfo distribution.

Index


NAME

Top

Net::SNMP::HostInfo::UdpEntry - An entry in the udpTable of a MIB-II host

SYNOPSIS

Top

    use Net::SNMP::HostInfo;

    $host = shift || 'localhost';
    $hostinfo = Net::SNMP::HostInfo->new(Hostname => $host);

    print "\nUdp Listeners Table:\n";
    printf "%-15s %-5s\n",
        qw/LocalAddress Port/;
    for $entry ($hostinfo->udpTable) {
        printf "%-15s %-5s\n",
            $entry->udpLocalAddress,
            $entry->udpLocalPort;
    }

DESCRIPTION

Top

"Information about a particular current UDP listener."

METHODS

Top

udpLocalAddress

"The local IP address for this UDP listener. In the case of a UDP listener which is willing to accept datagrams for any IP interface associated with the node, the value 0.0.0.0 is used."

udpLocalPort

"The local port number for this UDP listener."

AUTHOR

Top

James Macfarlane, <jmacfarla@cpan.org>

SEE ALSO

Top

Net::SNMP::HostInfo


Net-SNMP-HostInfo documentation  | view source Contained in the Net-SNMP-HostInfo distribution.