Constructor.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.0.0 (0.7.0.0)

Syntax

C#
public UdpTarget(
	IPAddress peer,
	int port,
	int timeout,
	int retry
)
Visual Basic (Declaration)
Public Sub New ( _
	peer As IPAddress, _
	port As Integer, _
	timeout As Integer, _
	retry As Integer _
)
Visual C++
public:
UdpTarget(
	IPAddress^ peer, 
	int port, 
	int timeout, 
	int retry
)

Parameters

peer
Type: System.Net..::.IPAddress
SNMP peer IP address
port
Type: System..::.Int32
SNMP peer UDP port number
timeout
Type: System..::.Int32
SNMP peer timeout in milliseconds
retry
Type: System..::.Int32
SNMP peer maximum retires setting. Value of 0 will result in a single request with no retries.

See Also