Dart SNMP Library 4.0
SendResponse Method
Response SnmpMessage created by CreateResponse or user code.
Response destination, typically the Origin of the request.
Description
Encode a response message and send it to a manager.
Syntax
Visual Basic
Public Sub SendResponse( _
   ByVal responseMessage As SnmpMessage, _
   ByVal targetEP As IPEndPoint _
) 
Parameters
responseMessage
Response SnmpMessage created by CreateResponse or user code.
targetEP
Response destination, typically the Origin of the request.
Remarks

Typically used within the body of the Request event to send a response SnmpMessage.

The responseMessage is sent over the socket that the request was received on.

responseMessage.Type must be snmpResponse or snmpReport; otherwise an exception is thrown.

See Also

Agent Object  | Agent Members


PowerSNMP for ActiveX Documentation Version 4.0
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic