• 0 Posts
  • 2.24K Comments
Joined 2 years ago
cake
Cake day: July 9th, 2023

help-circle
















  • Yes, but you can write it in different ways. If the numeric string contains a dot, left of it must be between 0 and 255, and is put in the highest byte of the address. If the rest also contains a dot, repeat, but put it into the second highest byte.

    BUT: if the string does not contain a dot, the number is put into the remaining bytes.

    So 123.256 is a valid address. The 123 goes into the top byte, the 256 goes into the remaining three bytes, so the address would be 123.0.1.0.

    Most common example is 127.1, which is short for 127.0.0.1 - the localhost address.