Operating System - OpenVMS
1825774 Members
2100 Online
109687 Solutions
New Discussion

Re: See CLOSE_WAIT TCP Sockets / Channel Pascal

 
stephenbrayshaw
Advisor

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
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