CArclib::ArcSetSnmpTrapIp

The ArcSetSnmpTrapIp method updates trap ip addresses for SNMP notification.

 

virtual ARC_STATUS ArcSetSnmpTrapIp(

IN DWORD nItem,

char        *szIp

);

Parameters:

[IN]

nItem:

Value

Meaning

0

Updates the SNMP Trap IP1

1

Updates the SNMP Trap IP2

2

Updates the SNMP Trap IP3

 

szIp: Null-terminated character string representing a number expressed in the Internet standard "."

       (dotted) notation, format: "xxx.xxx.xxx.xxx" ex: 192.168.001.100

Return Values

This method returns the ARC_STATUS.

Note:

Password required if password enabled, use ArcChkPassword member function to validate the password.