Is 10.1 a valid IP address? In general is it valid even if all the 4 octets of the IP address are not specified in dotted decimal format.
I used inet_aton() and inet_addr() and both didn't complain about 10.1, assuming that it is valid.
Does it mean that 10.1 is the same as 10.0.0.1 or 10.1.0.0?
Going by this logic, does 10.1.2 the same as 10.0.1.2 or 10.1.2.0?