Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

ask the wizard
Content starts here

TCP/IP $qio version of select()?

» close window

The Question is:

 
What is the $QIO equivalent to select() (socket programming)
 


The Answer is :

 
  RetStat = sys$qio( ef, iochannel,
    IO$_SETMODE | IO$M_WRTATTN,
    iosb, 0, 0,
    astadr, astparam,
    0, 0, 0, 0);
  if (!$VMS_STATUS_SUCCESS( RetStat ))
    return ReStat;
 
 
 
  RetStat = sys$qio( ef, iochannel,
    IO$_SETMODE | IO$M_READATTN,
    iosb, 0, 0,
    astadr, astparam,
    0, 0, 0, 0);
  if (!$VMS_STATUS_SUCCESS( RetStat ))
    return ReStat;
 

answer written or last revised on ( 9-JUN-2000 )

» close window

 

Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.