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


  • Subject: Re: Access SOCKETS API from RPG
  • From: "Scott Klement" <infosys@xxxxxxxxxxxx>
  • Date: 18 May 1999 17:08:42 -0500

Yes, I use the sockets API from RPG...  I'm on a CISC box running
V3R2, and it works fine. (though, it SHOULD work even better on RISC)

Its not that hard...  basically you just make RPG data structures,
prototypes and such that will look (to the API) just like the C
ones do.

Once you've got that part down, you can write your socket stuff in
RPG, just as you would in C, and use the C manuals for a reference.

do you want examples, or do you have a more specific question?  I'd
be happy to help.

Scott Klement
Information Systems Manager
Klement's Sausage Co, Inc.



Chris Bipes <ChrisB@cross-check.com> wrote:
> Has anyone done TCP/IP Sockets API programming in RPG.  All the info
>  find
> points to C/400.  I have found the api and prototypes for C.  I have
>  also
> found a third party interface.  I need to put the program onto three
> different AS/400's, one of which is a CICS running V3R2 and the othe
>  two
> are RISC running V3R7.
>
> Christopher K. Bipes  mailto:ChrisB@Cross-Check.com
> Sr. Programmer/Analyst  mailto:Chris_Bipes@Yahoo.com
> CrossCheck, Inc.  http:\\www.cross-check.com
> 6119 State Farm Drive  Phone: 707 586-0551 x 1102
> Rohnert Park  CA  94928    Fax: 707 586-1884
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.