HP OpenVMS Systems

ask the wizard
Content starts here

Mixing and Matching IP APIs?

» close window

The Question is:

I read in the TCPIP doc that mixing IPC and QIO is illegal. I'm wondering if
 there are exceptions. Is it legal to use sys$qio() instead of connect() in an
 app that otherwise only uses the TCPIP socket IPC API? Sys$qio allows multiple
 simultaneous connecti
on attempts to a remote node with redundant interfaces. Connect() allows only
 one at a time. (The QIO channel can be obtained using decc$get_dsc()).
Thank you very much.

The Answer is :

  The OpenVMS Wizard strongly recommends using either the socket API
  or the $qio API for a particular socket/channel, and would tend to
  recommend against intermixing different levels of the I/O stack on
  the same socket/channel.  (That said, the vaxc$get_sdc call may be
  of interest.)  Intermixing different types of socket/channel I/O
  calls across multiple sockets/channels active within the same
  application is reasonable.

answer written or last revised on ( 7-DEC-2000 )

» close window