IP*Works! S/SNMP V9 - Online Help
IP*Works! S/SNMP V9
Questions / Feedback?

SendResponse Method

Sends a response packet to a Get, Get-Next, Get-Bulk, or Set request.

Syntax

[VB.NET]
Public Sub SendResponse(ByVal RemoteHost As String, ByVal RemotePort As Integer, ByVal RequestId As Integer, ByVal Community As String, ByVal ErrorStatus As Integer, ByVal ErrorIndex As Integer)
[C#]
public void SendResponse(string remoteHost, int remotePort, int requestId, string community, int errorStatus, int errorIndex);

Remarks

Use this method to send asynchronous response packets. A valid RequestId must be specified. SendResponse sends an unauthenticated response packet. Depending upon the value of the SNMPVersion property, the packet is constructed as an SNMPv1, SNMPv2c, or SNMPv3 (unauthenticated) response PDU. To send authenticated or encrypted SNMPv3 responses, use SendSecureResponse

The RemoteHost and RemotePort parameters are used to determine where the response is to be sent. The object identifiers, types, and values for the request are taken from the Objects collection. The RequestId, Community, ErrorStatus, and ErrorIndex parameters are used to specify other properties of the response.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0