To make it more generic one could retrieve an IP address of one of your DNS
servers and ping that bad boy. Or even go down the list before looping.
https://www.ibm.com/docs/en/i/7.5?topic=ssw_ibm_i_75/apis/qtocrtvtcpa.html#TCPA0300
Or if you want to keep it simple, ping the loopback IP address commonly
used. But that doesn't rely upon the comm interface being up.
Part of that same API is fields like "is the stack up?"

Or you could ping the "Next Hop" at
https://www.ibm.com/docs/en/i/7.5?topic=ssw_ibm_i_75/apis/qtoclstnetrte.html




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.