Thanks, I was sort-of on the right track.
Kev
>IP address is 4 bytes unsigned integer with max value of 0xffffffff pluse value of 0. Another way to get the same result.
? 256 * 256 * 256 * 256
because each byte has value from 0 to 255.
>
>>Thanks.
>>
>>But how did you come to that solution?
>>
>>Kev
>>
>>>>Not being renowned for my maths skills, how do you work out how many ip addresses you can have.
>>>>
>>>>Knowning the range is from 0.0.0.0 to 255.255.255.255.
>>>>
>>>>Thanks
>>>>Kev
>>>>
>>>>BTW I thought it was 255 * 255 * 255 * 255!
>>>
>>>If you can use all of them, than
? 0xffffffff+1 && 4,294,967,296