monitoring is IP address Establish connection or not on iSeries host

Posted on 2013-10-17
Medium Priority
Last Modified: 2015-05-12

I need to build a program on iSeries to monitor is establish TCP/IP connection.
I can monitor via NETSTAT, but is exists some why that I can create some RPGLE pgm who will report me for which IPs I haven't esablish connection?

Question by:NesaEPL

Author Comment

ID: 39581759
sorry I didn't say that everything is on iSeries host
LVL 27

Accepted Solution

tliotta earned 2000 total points
ID: 39581965
The List Network Connections (QtocLstNetCnn) API, in service program QTOCNETSTS, can return a list of either IPv4 or IPv6 connections (or a qualified subset of either) into a user space.

Create a space, retrieve a pointer to it and call the API. The current list of selected connections will then be available in your program. Each call to the API.will refresh the list.

LVL 14

Expert Comment

ID: 40772092
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
In this article, we will discuss how you can secure Active Directory using free tools, and how you can choose a safe and secure Active Directory security auditing tool.
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question