VMS Help — TCPIP Services, Programming Interfaces, Socket API Functions, gethostaddr Description
This function returns the standard host address for the current
processor. The returned address is null-terminated. The addr
parameter must point to at least 16 bytes of free space.
Host addresses are limited to 16 characters.