Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_addr(3)

dhcp(7)

join.ipaddresses(4)  —  File Formats

NAME

join.ipaddresses − Acceptable formats for string representations of IP addresses

DESCRIPTION

A character string representation of an IP address, as used within JOIN, is written as one, two, three, or four numeric fields with a period (.), separating each field, and without interleaving whitespace.  Each field corresponds to an octet, and therefore can have a value in the range 0..255 (decimal).  Each of the octets may be written as a decimal, octal, or hexadecimal number, and there is no requirement that each octet have the same radix. Octal values commence with a leading zero (0); hex values commence with either 0x or 0X. 

When an address is written with fewer than four octets, the missing bytes are interpolated according to the following scheme, which shows how they would have been written with all four octets present:

aaa.bbb.ddd aaa.bbb.0.ddd

aaa.ddd aaa.0.0.ddd

ddd 0.0.0.ddd

EXAMPLES

192.245.139.33
0xc0.245.139.041
192.33
0x21

RELATED INFORMATION

Functions: inet_addr(3)

Information: dhcp(7)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026