OSI/TS Configuration and Management Manual
NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual—424831-001
7-24
Responding to Connection Requests
The remote TSEL with which you want to  establish a connection  is an  attribute 
of the subdevice. To make outgoing calls through the  subdevice, this address 
must be  specified.  The remote TSEL is  specified when the subdevice  is added 
using SCF, or  your application sets  it by  issuing a SETPARAM 15 call.
The CONTROL request  completes when the  connection handshaking procedure 
completes successfully or aborts.
Responding to Connection Requests
After your application has opened a subdevice and  set security or  multiplexing 
parameters, you can  do  either of the following:
•
Request connection establishment.
•
Prepare to wait  for a connection-establishment request from a  remote peer.
This subsection and  the following two subsections discuss the second case the 
previous subsection discusses the first case.
Procedures for Responding to  a Connection Request
The procedure for responding to connection requests differs according  to whether 
the OSI/TS subsystem or the application handles the response protocol.  This 
procedure is summarized as follows,  and is described  in detail  in the next two 
subsections:
1. Assign the  incoming connection request to a subdevice.
2. Specify who manages  the response protocol:
•
If OSI/TS, issue  a  WRITEREAD or CONTROL  11 procedure call. This 
is discussed in the following subsection, “OSI/TS Subsystem Manages the 
Response Protocol.”
•
If the  application,  issue  a WRITEREAD call, followed  by either a 
WRITE call or another WRITEREAD call. This is discussed  in a later 
subsection, “Application Manages  the Response Protocol.”
These steps indicate  that the application is ready  to accept the T-CONNECT 
indication service primitive.
Assigning Incoming Connection Requests to Subdevices
When a CR-TPDU arrives, the  OSI/TS subsystem verifies  that the SRC-REF 
address is  not  in use or frozen.  Then OSI/TS  searches all subdevices in  the 
connection-establishment phase  and not bound to a transport connection. OSI/TS  
looks for a subdevice whose  TSELs match those  in the CR-TPDU.
OSI/TS searches  subdevices in  the following order:
•
Subdevices that specify a  local TSEL
•
Subdevices that do not  specify a local TSEL










