I'm writing a class module to represent an IP address and it works fine for IPv4 addresses. But I'm wanting to support IPv6 addresses also. IPv6 addresses are 128 bits in size, and VB doesn't have a data type that can store a number that large.
Is it possible to use 2 64-bit values (high and low)? If so, how?
My IP class has a property to get the IP in decimal form (not dotted notation like "123.123.123.123") but just a plain integer.
Would I need to make another class to store the 128-bit value and use that class as a return type for the property? Example:
vb Code:
Public Property Get IPAddressDecimal() As Large128BitIntegerClass '? End Property
:confused:
