× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




I can't help you with CWBPING, but I have written a utility that you can put in a CL program that will check if a server is listening on a given TCP port number.


You can download it from the following link:
http://www.iseriesnetwork.com/noderesources/code/clubtechcode/ChkSvr.zip

This utility was written for my newsletter (Club Tech iSeries Programing Tips) If you're a Pro member of the iSeries Network, you can read the article at the following link:
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=20095


---
Scott Klement  http://www.scottklement.com

On Fri, 29 Apr 2005 jmoreno@xxxxxxxxxxxxxxxx wrote:

Hello all,

We need to run a chewck on specific port numbers every so often.

The Client Access - CWBPING facility will do this for us at V5R3

From the "Windows Command Prompt" we can run the command . . . : CWBPING
servername /port:# ]
and we just look at the results

However the requirement is to run as part of a CL program, to run in batch
and to be able to read the "message results"

- - - - - - -

As a side note

In the past we have used the TCP/IP API QtocLstNetCnn,  NCNN0100 Format
But we discovered that the information pertaining to the TCP/IP state is
not reliable.
If the API tells me that it is listening, this does not guarantee a
connection

-------

Your comments will be greatly appreciated

Jorge Moreno
Overseas Military Car Sales
Woodbury, New York

Confidentiality Notice:This email, including its attachments, may contain
information that is confidential and may be protected by federal and/or
state laws and regulations, or other confidentiality privileges.  This
email, including its attachments, may contain non-public information;
therefore it is intended to be conveyed only to the designated
recipient(s).  If you are not an intended recipient, please delete this
email, including its attachments, and notify the sender.  The unauthorized
use, dissemination, distribution or reproduction of this email, including
its attachments, is prohibited and may be unlawful.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.