× 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: RPGILE and TELNET
  • From: Patrick Townsend <townsend@xxxxxxxxxxxxxx>
  • Date: Fri, 16 Oct 1998 06:17:59 -0700
  • Organization: Patrick Townsend & Associates, Inc.

Bruce,

Get ready for some interesting work with the Telnet protocol! Once you
have gotten past the telnet negotiation phase you will be home free, but
that can be interesting/frustrating. I suggest you take a look at the
RFC (853) and a good Telnet reference. Be aware that different platforms
will behave differently on the negotiation phase. That's why a good FSM
implementation will be helpful.

Is Telnet really required? UNIX does sockets stuff well and that's much
easier to deal with....

Patrick

Bruce Odum wrote:
> 
> yes I need to capture telnet data streams under RPG program control?
> >
> 
> > -----Original Message-----
> > From: owner-midrange-l@midrange.com
> > [mailto:owner-midrange-l@midrange.com]On Behalf Of Patrick Townsend
> > Sent: Friday, October 16, 1998 12:45 AM
> > To: MIDRANGE-L@midrange.com
> > Subject: Re: RPGILE and TELNET
> >
> >
> > Bruce,
> >
> > You can use the telnet command on the AS/400 to start a terminal session
> > on a Unix box just from an AS/400 command line. From an RPG program you
> > can invoke QCMDEXC and run telnet, too. Although AS/400 telnet may be
> > weird when you try to do stuff on the Unix box (vi is gonna act funny),
> > you can do it and I've done it many times.
> >
> > Is this what you mean, or are you talking about capturing telnet data
> > streams under RPG program control?
> >
> > Patrick
> >
> > Bruce Odum wrote:
> > >
> > > Is it possible to write a ILE RPG program to communicate with a Unix box
> > > that only supports communications through a telnet session.  Can this be
> > > done and if so how would you go about doing this.  Thanks in advance
> > >
> > > +---
> > > | This is the Midrange System Mailing List!
> > > | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> > > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> > > | To unsubscribe from this list send email to
> > MIDRANGE-L-UNSUB@midrange.com.
> > > | Questions should be directed to the list owner/operator:
> > david@midrange.com
> > > +---
> >
> > --
> >
> > IBM AS/400 communications, FTP automation, and network security
> > software and consulting services.
> >
> mailto:townsend@patownsend.com
> http://www.patownsend.com
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

-- 

IBM AS/400 communications, FTP automation, and network security
software and consulting services.

mailto:townsend@patownsend.com
http://www.patownsend.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 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.