Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

return back data once read by QIO

 
Alex Chupahin
Super Advisor

return back data once read by QIO

hello.
I've just read a data 1 byte from network device via QIO.
Is is possible get back it into channel to read it once more?
1 REPLY 1
Richard Whalen
Honored Contributor

Re: return back data once read by QIO

If this is from a TCP/IP network device, then you want to read the byte with the PEEK option. This will let the program see the data without removing it from the buffer until the program reads the data in the normal way (without the PEEK option).

http://h71000.www7.hp.com/doc/82final/6529/6529pro_019.html#r_recv