TCP/IP (Parallel Library) Migration Guide
HP NonStop TCP/IP (Parallel Library) Migration Guide—522272-003
2-1
2 The New Socket Provider
This section describes the new socket provider, TCP Socket Access 
Method (TCPSAM). To migrate conventional TCP/IP socket applications to Parallel 
Library TCP/IP, read this section to familiarize yourself with how to access and 
manage TCPSAM. This section also describes fault-tolerant behavioral differences 
between TCPSAM and the conventional TCP/IP process that you should be aware of 
when using Parallel Library TCP/IP for socket applications.
TCPSAM is a process pair provided for backward compatibility with conventional 
TCP/IP socket applications. TCPSAM is not in the data path but provides applications 
with a name for a socket-transport service provider. By specifying the TCPSAM 
process as the name of the socket-transport service provider, the application 
programmer can access Parallel Library TCP/IP without reconfiguring the application.
There is no restriction on the number of instances of TCPSAM running in a system. 
You can name TCPSAMs using the standard process-naming convention including 
$ZTCn. 
Determining the Name of the Socket Access 
Method
In conventional TCP/IP, the transport-service provider was the name of the TCP/IP 
process (usually $ZTC0). In Parallel Library TCP/IP, the transport-service provider is 
the name of the TCPSAM process. To use Parallel Library TCP/IP for the socket 
applications, you need to know the name of the TCPSAM process and set that name to 
be the name of the transport-service provider. 
To determine the name of a TCPSAM process for use as a transport-service provider, 
issue the following command: 
This SCF LISTDEV command lists all the TCP/IP processes. In the Program column, 
conventional TCP/IP processes have the suffix .TCP/IP; Parallel Library TCP/IP 
processes have the suffix .TCPSAM. The following display shows a sample result of 
the SCF LISTDEV TCPIP command.
Note. The Expand application expects a TCP/IP process name to start with Z.
-> LISTDEV TCPIP
1 SCF - T9082G02 - (05AUT99) (26JUL99) - 12/22/1999 14:52:00 System \TIGGER
2 Copyright Hewlett-Packard Company
3
4 LDev Name  PPID  BPID  Type RSize Pri Program
5 107 $ZTCP0  0,285  1,287  (48,0) 32000 200 \TIGGER.$SYSTEM.SYS03.TCPIP
6 141 $ZTC03  3,269  0,0 (48,0)  57344 201 \TIGGER.$SYSTEM.SYS03.TCPSAM
7 154 $ZTC0  0,299 1,286  (48,0) 32000 200 \TIGGER.$SYSTEM.SYS03.TCPIP
8 158 $ZTCP1  1,293  0,302  (48,0) 32000 200 \TIGGER.$SYSTEM.SYS03.TCPIP
9 190 $ZTC02  1,310  0.0 (48,0)  57344 201 \TIGGER.$SYSTEM.SYS03.TCPSAM










