TCP/IPv6 Migration Guide

Transport-Service Provider Differences for NonStop
TCP/IPv6
HP NonStop TCP/IPv6 Migration Guide524524-004
2-5
Configuring Applications to Use NonStop TCP/IPv6
Configuring Applications to Use NonStop
TCP/IPv6
Before migrating your applications to NonStop TCP/IPv6, note that:
The TCP6SAM process does not have to be in the same processor as the
application.
Applications using NonStop TCP/IPv6 can run only in processors in which a
TCP6MON process is configured and running.
Extra care is required for selecting TCP6SAM processes in an LNP-configured
environment. See Logical Network Partitioning (LNP) on page 2-2 and the
TCP/IPv6 Configuration and Management Manual.
Once you have determined the name of the TCP6SAM process for your
transport-service provider, use an ADD DEFINE or PARAM command, or run a
procedure call to inform your application of that process name. The DEFINE and
PARAM syntax and procedure calls required depend on the environment (Guardian or
OSS) in which you are running your application.
To use IPv6 sockets, you also must port your socket applications to IPv6. See the
TCP/IP Programming Manual for procedures for porting applications to IPv6.
If any of your applications use the program name to determine if a TCP/IP transport-
service provider process is TCPSAM, you need to change the application to look for
TCP6SAM. See Name Changes on page 3-14.
Guardian Socket Applications
To set Guardian socket applications to access NonStop TCP/IPv6, you must use one
of the following ADD DEFINE or PARAM commands or a call to the
socket_set_inet_name procedure to set the TCPIP^PROCESS^NAME to the
TCP6SAM process name:
ADD DEFINE =TCPIP^PROCESS^NAME, class map, file &
$TCP6SAM-process-name
PARAM TCPIP^PROCESS^NAME $TCP6SAM-process-name
OSS Socket Applications
For OSS socket applications to access NonStop TCP/IPv6, you can either add a
DEFINE in the Guardian environment, use the add_define in the OSS environment,
or programmatically use the socket_transport_name_set call to set the TCP/IP
process name to the TCP6SAM process name. The following example shows the
add_define method:
add_define =TCPIP^PROCESS^NAME class=map file=\$TCP6SAM-process-name