|
>>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. > I haven't gone over the more recent versions of the tutorial, but I hadn't > any problems either. When you run the server in debug, what do you see when > the read() is satisfied? Buck, you'll have to forgive me, I'm a real neophyte when it comes to sockets here. I don't see any read()'s anywhere. Scott has you do the recv() in an ILE subprocedure, and I can't figure out how to run that in debug (I'm pretty new to RPG and ILE as well) > Check it out in hex. It almost sounds like a > translation problem between ASCII and EBCDIC. If I check out the "line" variable in hex, this is what I get: > EVAL line:X 4 00000 40404040 ........ ........ ........ - ............ Here's Scott's Read Line utility http://klement.dstorm.net/rpg/socktut/x528.html For the life of me, I can't figure out how peLine gets a value. I know it's a pointer, and I guess it's getting the value from wwBuf, but I just can't tell. Mike E.
As an Amazon Associate we earn from qualifying purchases.
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.