![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I have a query on the TCP/IP APIs provided by OpenVMS. Please find below the details on this: The output of UCX> show version Digital TCP/IP Services for OpenVMS Alpha Version V4.2 - ECO 1 on a AlphaServer 2100A 5/250 running OpenVMS V7.1 UCX> 1. The OpenVMS FAQ No. 1988 tells us the option to set the socket to Non Blocking. I use C Socket routines in my TCP/IP programs. But I found out that my socket is set to Non Blocking by default, though I have not used any Non Blocking option. Does it mean that we do not have to supply any Non Blocking options on our socket? 2. I use C Socket Routines in my programs. I use ASTs (Asynchronous System Traps) to cancel any outstanding I/O pending in the queue, if the pipe is broken. This makes my C code non-portable. I need an API that takes care of cancelling any outstanding I/O requests in case the pipe is broken so that the I/O cancel operation can be made transparent to us and the AST part of the code can be replaced by this API. The return code from the API will tell me if I have to shutdown all sockets. I await your response and in case you need any more details, please send me a mail to brindha.mohan@gtech.com Thanks. Brindha The Answer is : Please contact the Compaq Customer Support Center for assistance.
|