OSI/TS Configuration and Management Manual

NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual424831-001
7-21
Initializing the Subdevice and Preparing for Nowait
I/O
old^remote^tsel
is the current remote TSEL.
Initializing the Subdevice and Preparing for
Nowait I/O
You can use the SETMODE or the SETMODENOWAIT procedure to initialize
all subdevice parameters to the values configured at the time the subdevice was
opened. Your application can request either of the following:
To prepare for out-of-sequence completions when your application has specified
nowait I/O in the subdevice open, issue one of the following:
Requesting Connection Establishment
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 discusses the first case the following subsection discusses the
second case.
Procedures for Requesting a Connection
Your application can use either the WRITEREAD or the CONTROL 17
procedure to request connection establishment. OSI/TS interprets both of these
procedures as
T-CONNECT request service primitives thus, they are equivalent from the point
of view of the Transport Layer. However, they differ as follows:
CALL SETMODE ( filenum, 28, 0 )
or
CALL SETMODENOWAIT ( filenum, 28, 0 )
CALL SETMODE ( filenum, 30, 1 )
or
CALL SETMODENOWAIT ( filenum, 30, 1 )
CONTROL 17 If you use CONTROL 17, your application and the
correspondent peer entity cannot transfer data during the
connection-establishment phase.
WRITEREAD WRITEREAD allows your application to send data in the
connection request. It also provides a buffer for any data
that the remote user wishes to include in the connection
confirmation.