TCP/IP (Parallel Library) Migration Guide
The New Socket Provider
HP NonStop TCP/IP (Parallel Library) Migration Guide—522272-003
2-2
Configuring Applications to Use Parallel Library
TCP/IP
In this example, the processes $ZTC02 and $ZTC03 are TCPSAM processes. Select
these processes when specifying the transport-service provider name for your
applications to access Parallel Library TCP/IP.
To create one or more TCPSAM processes, see the TCP/IP (Parallel Library)
Configuration and Management Manual.
Configuring Applications to Use Parallel
Library TCP/IP
Before migrating your applications to Parallel Library TCP/IP, note that:
•
The application can use any running TCPSAM process as a transport-service
provider; the TCPSAM process does not have to be in the same processor as the
application.
•
Applications using Parallel Library TCP/IP can run only in processors in which a
TCPMON process is configured and running.
After you have determined the name of the TCPSAM process that you will be using for
your transport-service provider, use the command, ADD a DEFINE or PARAM, 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 the application is running.
Guardian Socket Applications
To set Guardian socket applications to access Parallel Library TCP/IP, use one of the
following ADD DEFINE or PARAM commands or call the set_inet_name()
procedure to set TCPIP^PROCESS^NAME to the TCPSAM process name:
ADD DEFINE =TCPIP^PROCESS^NAME, class map, file &
$TCPSAM-process-name
PARAM TCPIP^PROCESS^NAME $TCPSAM-process-name
OSS Socket Applications
To enable OSS socket applications to access Parallel Library TCP/IP, perform any one
of the following:
•
Add a DEFINE in the Guardian environment
•
Use the add_define in the OSS environment
•
Use the socket_transport_name_set() call in the program to set the TCP/IP
process name to the TCPSAM process name:
add_define =TCPIP^PROCESS^NAME class=map \
file=\$TCPSAM-process-name