Pike v8.1 release 6

Class Protocols.SNMP.agent

Inheritance graph
_Stdio.UDP Stdio.UDP Protocols.SNMP.protocol Protocols.SNMP.agent
Description

A simple SNMP agent with support for SNMP Get requests


Inherit "protocol"

inherit "protocol" : "protocol"


Method create

Protocols.SNMP.agent Protocols.SNMP.agent(int|void port, string|void addr)

Description

create a new instance of the agent

Parameter port

the port number to listen for requests on

Parameter addr

the address to bind to for listening

Note

only one agent may be bound to a port at one time the agent does not currently support SMUX or AGENTX or other agent multiplexing protocols.