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




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.



Thanks again,



Jon



Date: Wed, 10 Mar 2010 17:16:08 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

Hi Jon,

x'FFFD25' = IAC DO AUTHENTICATION
x'FFFB01' = IAC WILL ECHO
x'FFFB03' = IAC WILL SUPPRESS-GO-AHEAD
x'FFFD27' = IAC DO NEW-ENVIRON
x'FFFD1F' = IAC DO NAWS
x'FFFD00' = IAC DO BINARY
x'FFFB00' = IAC WILL BINARY

To understand these, please check out the Telnet-related RFCs. There's
a pretty good collection of links to them on Wikipedia's telnet site
(see the "Related RFCs" section):

http://en.wikipedia.org/wiki/Telnet

This is by no means an exhaustive list of options, however. If your
program receives an option it's not prepared to handle, it should be
able to tell the Telnet server that it won't enable it. Please read the
RFCs (using the same link above) for info on how to interpret these
requests and reply accordingly.


On 3/10/2010 3:59 PM, Jon S wrote:

x'FFFD25'
x'FFFB01'
x'FFFB03'
x'FFFD27'
x'FFFD1F'
x'FFFD00'
x'FFFB00'


Thanks in advance,

Jon

--
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: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.