![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Using TCPIP Services for OpenVMS Alpha v5.0A, how can you make stdin "non-blocking" using ioctl()? I'd like to use select() to determine when something is ready to be read on stdin. The Answer is : The OpenVMS Wizard would prefer to use the $qio interface, and particularly the AST mechanism. Note: select() is only permitted to operate (at present) with sockets. It does not operate across other channels. Alternatively, take a look at: SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP]TCPIP$IOCTL_ROUTINE.C. Or, using TCPIP$INETDEF.H, specify ioctl() with FIONBIO.
|