This function copies local node information and network type information into the provided buffers. All data is returned null-terminated and trimmed to fit in the provided buffers.
char PIPTR * name,
char PIPTR * address,
char PIPTR * type,
int32 typelen );
Local machine network name
Size, in bytes, of the buffer name
Local machine network address
Size, in bytes, of the buffer address
Network type being used by the PI-API
Size, in bytes, of the buffer type
If a name of ?unknown? is returned, then the PI-API is not able to find the name of the local system. If an address of ?unknown? is returned, then the name was not resolved in the local network database (or hosts file.)
On a DEC VAX the type of a PI Home node is always "PI home node" and a PINet node is always "PINet Node over DECNet."