HP OpenVMS Systems

ask the wizard
Content starts here

IP $qio programming? (PORTMAPPER)

» close window

The Question is:

 
dear mr. wizard,
 
i developed a a vms 2 programms communicating with tcpip, using the $qio
 functions.
 
 
is there any c-function, that lists all sockets , their ports and the connected
 peers.
 
- similar to "TCPIP show device_socket"
 
 
thank you
 
 
 


The Answer is :

 
  You might be able to manage this task with a combination of the system
  services to scan the device database (see $getdvi[w] and $device_scan),
  SHARE privilege, and the $qio[w] IO$_SENSEMODE itemcode.
 
  Why not simply use portmapper, or a cooperating application?
 

answer written or last revised on ( 12-MAR-2001 )

» close window