CArclib::ArcSetDhcpIp

The ArcSetDhcpIp method updates DHCP function and static IP address of the RAID subsystem.

 

virtual ARC_STATUS ArcSetDhcpIp (

unsigned char bDhcpMode,

unsigned char *szStaticIp

);

Parameters:

[IN]

bDhcpMode:

 

Value

Meaning

0

DHCP function disabled

1

DHCP function enabled

 

szStaticIp:  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:

If the DHCP function disabled, the RAID subsystem use the static IP address.

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