TCP/IP Programming Manual

in a previous ADD DEFINE command that defines a value for =TCPIP^HOST^FILE or
=TCPIP^NODE^FILE.
The socket library uses the DEFINE command to resolve the file names and process names used
by the socket library. For more information, see Using the DEFINE Command (page 29).
ND6HOSTD Process for NonStop TCP/IPv6
The ND6HOSTD process for NonStop TCP/IPv6 is a utility process that you can run to receive and
process router advertisement (RA) packets and update the global address information in the DNS.
The ND6HOSTD process is a Guardian process started by the $ZPM persistence manager. It runs
in one or more processors in which a TCP6MON is running. For more information about
ND6HOSTD, see the TCP/IPv6 Configuration and Management Manual.
Starting Clients and Servers
Typically, a client program is started by an application user at a terminal. A server might be started
by an operator or system manager, or by the LISTNER process, depending on the way you design
and set up the server. When a client or server program is started, the person starting the program
might need to set one or more TCP/IP attributes to control how the program operates.
NOTE: You should use the standard configuration, so that users running the client and server
programs do not need to enter DEFINE commands. Use a nonstandard approach only when the
normal one does not meet the needs of your application. However, if you are using CIP, you might
want to set the compatibility error suppression DEFINE, as described under “Suppressing
Compatibility Errors (page 24). For descriptions of CIP compatibility considerations, see the Cluster
I/O Protocols (CIP) Configuration and Management Manual. You can use this information to
determine how your application might be affected by compatibility issues and whether or not to
set the compatibility error suppression DEFINE.
Using the DEFINE Command
The socket library uses values defined by the ADD DEFINE command to resolve file names and
process names as well as to provide some other functions for the library. The following DEFINE
names affect the operation of NonStop TCP/IP, Parallel Library TCP/IP, NonStop TCP/IPv6, and
CIP programs (both those provided by HP and the ones you develop):
Defines the key or password for round-robin. (Parallel Library TCP/IP and
NonStop TCP/IPv6 only)
=PTCPIP^FILTER^KEY
Limits the TCP ports that applications share in round-robin filtering (Parallel
Library TCP/IP and NonStop TCP/IPv6 only)
=PTCPIP^FILTER^TCP^PORTS
Limits the UDP ports that applications share in round-robin filtering (Parallel
Library TCP/IP and NonStop TCP/IPv6 only)
=PTCPIP^FILTER^UDP^PORTS
Specifies the name of the HOSTS-type file to be used to resolve names=TCPIP^HOST^FILE
Specifies the name of the IPNODES file to be used to resolve names
(NonStop TCP/IPv6 only)
=TCPIP^NODE^FILE
Specifies the network addresses and names for getnetbyaddr and
getnetbyname functions
=TCPIP^NETWORK^FILE
Specifies protocol names and port numbers for getprotobyname and
getprotobynumber functions
=TCPIP^PROTOCOL^FILE
Specifies the name of the resolver configuration file to be used to get
name server information
=TCPIP^RESOLVER^NAME
Specifies service by port number and name for getservbyname and
getservbyport functions
=TCPIP^SERVICE^FILE
Defines the SRL for the TCPSAM process. (Parallel Library TCP/IP and
pre-G06.24 RVU NonStop TCP/IPv6 only.)
=_SRL_01
TCP/IP Programming Fundamentals 29