Sorry, guys, I know this is not related to gaming but this is the forum I hang out in so I guess your opinions are the ones I ask…
So my question, looking at an i.p. adress of 999.999.999.999 and a number 999999999999, what is the difference between the number of unique variables these numbers can hold?
According to me, 999 can hold a maximum of 1000 different values.
Thus 999.999.999.999 is equal to 1000x 1000x 1000x 1000 an thus 1,000,000,000,000, although, seeing as how the first set of 1000 all assume the rest to be 0 anways, it seems more like 999x 999x 999x 1000 = 997,002,999,000
But, a single numeric variable of 12 digits in length can hold a maximum of 1,000,000,000,000 different values. So according to me, an ip address is the same or less than the 12 digit numeric counterpart…
Now, according to ‘experts’, all available ip addresses will be used by within the next 3 weeks. Apparently almost all 4 billion ip addresses have been assigned. 4 billion? As in 4,000,000,000 ? As in 3.999.999.999 ?
What am I missing here? 4 billion is far less than 1 trillion. If a single digit can hold 1 trillion values and if my previous statement of an ip address only being able to generate at least 997 billion, why is 4 billion the cutoff?
So my questions:
- Why is 4 billion the cutoff for all ip addresses?
- What is die difference in the amount of values that can be stored by an ip and a 12 digit number
- If the answer to question 2 is not “none”, why so?
http://www.news24.com/SciTech/News/Internet-addresses-to-be-used-up-20101204
p.s. just to clarify, I loosely used COBOL syntax above. To define a variable that can be a maximum of 3 digits in length, you would declare it as a PIC 999. Thus, when I use 999.999.999.999 I meant a series of numbers of which each can be only be 3 digits in length (thus 000 to 999).