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

See CLOSE_WAIT TCP Sockets / Channel Pascal

 

See CLOSE_WAIT TCP Sockets / Channel Pascal

Is there any way using the system services ( SYS$QIO et al ) to see if a socket / channel is in CLOSE_WAIT?

using netstat I can see sockets that are in close_wait but I would like to be able to see it from within my process using some system service ( the sockets are part of my process ).

Running on Itanium i4, OpenVMS 8.4-1H1, Pascal 6.2

1 REPLY 1
Highlighted
abrsvc
Respected Contributor

Re: See CLOSE_WAIT TCP Sockets / Channel Pascal

Look at the manual: "HP TCP/IP Services for OpenVMS Sockets API and System Services Programming"

Specifically look at chapters 5 & 6.  The examples are in C, but you should be able to get what you need there.

Others may be able to post some code sections for you as well.  I will look for one as well.

Dan

Link to documentation on line: 

http://h20565.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c04622282