sendSetRequest (method)

Send Set Request packet.

Syntax

- (void)sendSetRequest;
public func sendSetRequest() throws -> Void

Remarks

Sends a SetRequest packet. The object identifiers, types, and values for the request are taken from the Objects collection.

Example (Sending a SetRequest)


SNMPControl.RemoteHost = "MyAgent"
SNMPControl.ObjCount = 1
SNMPControl.ObjId(0) = "1.3.6.1.2.1.1.1.0"
SNMPControl.ObjValue(0) = "New Value"
SNMPControl.ObjType(0) = otOctetString
SNMPControl.SendSetRequest()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 iOS Edition - Version 20.0 [Build 8202]