× 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 and Buck,

Just figured out how to debug the service program.  Here's what I get for
CH when I check it each time after the receive:

6D - _
69 - N (with a tilde)
6B - ,
65 - A (with an accent mark)
0D
0A

Then, the Translate function seems to translate this to 'mike' just fine,
as it should.  So it looks like it's receiving it just fine.

You mentioned a save file.  Where is it?  I'd like to compare it to what
I've keyed into the sockutilr4 program.  I compared what I keyed with what
you have here:
http://klement.dstorm.net/rpg/socktut/qrpglesrc.sockutilr4

and it's the same.

Thanks!

Mike E.





                    Scott Klement
                    <klemscot@klement       To:     rpg400-l@midrange.com
                    s.com>                  cc:     meovino@estes-express.com
                    Sent by:                Subject:     Re: Scott Klement's 
Sockets Tutorial
                    rpg400-l-admin@mi
                    drange.com


                    09/09/2002 12:58
                    PM
                    Please respond to
                    rpg400-l







In the private e-mail you sent me, you said that you were checking
the "line" variable and it was always blank.  Take it a step further,
and check the contents of the "ch" variable immediately after the
recv() call in the RdLine subprocedure.

when viewing it in debug, do a "eval ch:x" to make it show the hex
value, since it will still be in ASCII at that point.

Other than that, I don't know what to tell you, except that it works
fine on my system.   Maybe you made a typo when you typed in the source?
Or did you use the save file?


On Mon, 9 Sep 2002 meovino@estes-express.com wrote:
>
> Anyone have any trouble with sections 5.5 and 5.6 (the first server
> example) of Scott's excellent tutorial?  I cannot seem to transmit data
to
> the server.  The return character gets there, because the server responds
> when I hit enter, but it does not echo the name I type back to me.  And
> when I type 'quit,' it keeps right on going.
>
> Thanks!
>
> Mike E.
>

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







As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.