Is there any way to get the status of a TCP port within a program? We need to monitor a specific port to ensure that a communications link is established, and then send a page to the analyst on call when the communications link goes down.
I can view the information with NETSTAT 3 (WRKTCPSTS *CNN), but I need to create a never ending batch process to do the monitoring.
Any help would be appreciated.
September 29, 2005 12:23 PM
November 14, 2009 1:00 PM