Installation guide
need device information to specify a transport provider. In the DIGITAL
UNIX system, this information must be present because XTI is
implemented using the xtiso pseudostreams driver.
You must change all your t_open calls to reflect this change for both
TCP and UDP transport providers or change your application to
determine the end point at run time. For example:
#ifdef _ _osf_ _
t_open ("/dev/streams/xtiso/tcp", ...)
#else
t_open ("tcp", ...)
#endif
• On ULTRIX systems, XTI is layered on sockets. If you call select for
an incoming asynchronous XTI connection, the socket becomes writable.
On DIGITAL UNIX systems, XTI is layered on streams. If you call
select, the socket becomes readable. You can either modify your
application to work with the DIGITAL UNIX select call or substitute
the poll call for the select call and modify your application to use this
call. See the Network Programmer’s Guide for more information on XTI.
• The ULTRIX ccmn_ccbwait() function is replaced by the DIGITAL
UNIX ccmn_send_ccb_wait() function. The DIGITAL UNIX function
sends a CAM Control Block (CCB) to the transport (XPT) layer and
sleeps on the address of the CCB at the passed priority level, waiting
for the CCB to complete. For more information, see the Writing Device
Drivers for the SCSI/CAM Architecture Interfaces manual.
• On ULTRIX systems, if you call open with a null pathname, it defaults
to the current directory. On DIGITAL UNIX systems, if you call open
with a null pathname, it returns an error.
7.9 Running Your Program
After your application links successfully, you are ready to run and test it.
Correct run-time errors by using the dbx debugger as an aid.
After you correct the semantic errors, your application is ported to the
DIGITAL UNIX system. In some cases, it might still not work properly.
One possible problem area is differences in the way certain routines on
DIGITAL UNIX systems are called or the return values. See Section 7.8
and Appendix B for more information.
Migrating Your ULTRIX Application to a DIGITAL UNIX System 7–45