| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Protocols
Protocols.SNMP
Protocols.SNMP.agent

# Method Protocols.SNMP.agent()->create()

Method create

  `void 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.