|
Well my socket server will listen and accept connections, convert from ASCII to EBCDIC and dump the data to a data queue unless it comes from a special connection which is identified as a response. Responses are sent back out another connection identified within the connection. The create, open, listen, accept, read and write are all there, just strip the data queue and add your own processing. I have the counter part that reads a data queue and sends down a connection. You can download here: http://www.cableone.net/ckb62/oerscksr.rpgle http://www.cableone.net/ckb62/echosrvr.rpgle (an echo server. connect read/write ... I will try to create my home page to point to each example and get up soon. -----Original Message----- From: Jim Langston [mailto:jlangston@conexfreight.com] Sent: Friday, September 17, 1999 11:37 AM To: RPG400-L@midrange.com Subject: Re: RPG 400 code on the NET What I would like, is an RPG socket stub. Just a short RPG program that creates or accepts a socket and sends or receives data. I think stubs might be a good idea too. Difference between a Stub and a Snippet is a stub will actually compile and run, although they normally don't do anything. They just have code setup to do something. Regards, Jim langston Chris Bipes wrote: > As a fairly new programmer to the ILE environment I love the code snippets I > have received here. What we need is an EXAMPLE library that can be > downloaded and searched. I am not looking for service programs to add to my > library. Hell that would be building another Microsoft Windows environment. > Lots of DLL to use and no way to see if they have bugs. The same function > available in a multitude of service programs. > > What we need to do is share Ideas. Say Hey I have coded that before and > here is how I did it. We then can modify the source for our own in-house > coding standards and add to our own in-house libraries. Forget all > copyrights and help each other out. This list has help me to learn lots. > When I have a completely tested Sockets service program that behaves the way > I want it to, I will post on this list. I welcome all constructive > comments that I may Get. Here is a short cut to where I have posted my work > to date. > > HTTP://www.cableone.net/ckb62/socksrv.rpgle > HTTP://www.cableone.net/ckb62/tcpipsock.rpgle > HTTP://www.cableone.net/ckb62/tcpipsockp.rpgle > > 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 > > *Note to Recruiters > I nor anyone that I know of is interested in any new and/or exciting > positions. Please do not contact me. > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.