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




Scott,



The RFC's are great for the concepts, and I get the will's/wont's do's and dont's, but I am just not sure how do it in RPG. I have found samples in other languages and I am trying to mimic that, but I am not getting anywhere. If anyone has any code samples, it'd be greatly appreciated.



Thanks, Jon



Date: Thu, 11 Mar 2010 12:51:22 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

hi Jon,

You didn't find the answer to these questions in RFC 854 & RFC 855?

I can go back and read these RFCs and look for an answer (it been years
since I've written a telnet client, please don't expect me to have it
memorized) but it seems to me that you should be able to find it the
same way...

On 3/11/2010 10:34 AM, Jon S wrote:

I thought I was on the right path with this, but am still stuck.
Based upon these IAC's, can anyone tell me what I need to send back
to just get to a login prompt? No matter what I am sending, I never
receive anything back, it just hangs.

Do I need to respond one at a time, or can I respond to all with one
write to the socket?

I can find very little on this via google. I would think more folks
would have a need to do this. I can think of lots of uses.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/

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.