CArclib::ArcSetNtpIp

The ArcSetNtpIp method updates IP addresses for NTP Server.

 

virtual ARC_STATUS ArcSetNtpIp (

IN DWORD nItem,

char        *szIp

);

Parameters:

[IN]

nItem:

Value

Meaning

0

Updates the NTP Server IP1

1

Updates the NTP Server IP2

 

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.