TwclWiFiSoftAP.SetIpSettings(string,string,string,string,string) Method

Sets current IP settings.

Namespace: wclWiFi
public
 function SetIpSettings(const Address: string; const Mask: string;
 const Gateway: string; const Dns1: string; const Dns2: string): Integer;

Parameters

Address
Type: string

The current IP address.

Mask
Type: string

The subnet mask.

Gateway
Type: string

The default gateway address.

Dns1
Type: string

The first DNS server address.

Dns2
Type: string

The second DNS server address.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.