× 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.



>       Does someone write the checksum function for Socket ICMP ? Does
> someone write native PING function with RPGIV instead of using PING
> command ?

It should be possible, but I haven't yet seen a reason to write it.
One thing that concerns me is that IBM restricted the use of raw sockets
starting with V4R4.  Hopefully a ping application wouldn't need to cross
the line where they've decided to restrict you, but I don't know for sure.

> I need to wrote PING function on ICMP message for Pthread
> used,

You need it for Pthread?!  But RPG does not support threads!!
If you're running the RPG procedure in a serialized manner, you may as
well just call the command...

> I found the C checksum source , but I am not familarwith C
> transferring to RPGIV ? Do any experts help me to transfer to RPGIV ?

Maybe you should hire a C programmer to help you?  C will work with
threads, and it would make porting the application a lot easier.  You
might even be able to find ping sources that are released with a BSD or
GPL license that you can simply compile on your iSeries and be done with
it...

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.