Constructor.
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public UdpTarget( IPAddress peer, int port, int timeout, int retry ) |
| Visual Basic |
|---|
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.