MakeIPAddress()

语法

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

参数

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().

返回值

Returns the IP address.

Remarks

This function is especially useful with:

- IPAddressGadget()

参阅

IPString(), IPAddressField()

已支持操作系统

所有

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