Question

I am writing a UI class for handling IP address and I was wondering if a specific name exists for each of the four sections of IP address V4, to distinguish each part!

Était-ce utile?

La solution

It is a mistake to think of an IP address as four octets. Ever since Classless Interdomain Routing came in over 20 years ago they are called 'bits'. There are now only two parts: the 'network address', which is the part that is masked in by the netmask, and the 'host identifier', which is the part that is masked out. The two parts are of variable length depending on the netmask.

Autres conseils

No, there is not. You could just name them first, second, etc...

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top