MakeIPAddress()

Syntax

Result = MakeIPAddress(Field0, Field1, Field2, Field3 [, Field4, Field5, Field6, Field7])
Description
Returns the equivalent numeric value of the specified IP address.

Parameters

Field0, Field1, Field2, Field3 The individual fields of the address. Each field can only have a value between 0 and 255.
Field4, Field5, Field6, Field7 (optional) The remaining individual fields for IPv6 address. Each field can only have a value between 0 and 255. When these fields are specified, an IPv6 address is created. When the address is no more needed, it has to be manually freed with FreeIP(). IPv4 address must not be freed with FreeIP().

Return value

Returns the IP address.

Remarks

This function is especially useful with:

- IPAddressGadget()

See Also

IPString(), IPAddressField()

Supported OS

All

<- InitNetwork() - Network Index - NetworkClientEvent() ->