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



Dineo,

I don't have your answer, but your program did not and will not come through
as an attachment. You have two choices,

1) cut/paste the relevant code into the message or

2) use http://code.midrange.com/ to post the code, then post the link to the
code into the message.

I believe that most on the list would prefer the 2nd option.

Thanks!

Jim

On Thu, Aug 27, 2009 at 1:55 AM, Chokoe, Dineo <Dineo.Chokoe@xxxxxxxxx>wrote:



Hi!



Please help. I need to send a class name to one of our servers via a
socket from RPG program and receive result via the same socket.



The problem is that when I do a write or a send to the receiving server,
somehow it does not see the data I am passing.

I tried both send and write.



I am converting the data to ascii before I send, but it is not helping.
I am thinking it has something to do with my data pointer, but I am not
sure how to deal with this.





Please help to see what I am doing wrong. Attached is the program.



Thank you in advance.











Regards.
Dineo Chokoe
Developer
IT- FNB Online

Corporate Banking
Tel +27 (11) 6490785 Cell +27 (83) 6345117
2nd Floor, FNB Building, 1 Enterprise Road, Fairland
PO Box 1065, Johannesburg, 2000
Email: dineo.chokoe@xxxxxxxxx

www.fnb.co.za <http://www.fnb.co.za/> www.shine2010.co.za
<http://www.shine2010.co.za/>


(c) 2005 FIFA(tm)

First National Bank - a division of FirstRand Bank Limited.
An Authorised Financial Services and Credit Provider (NCRCP20).

"Helping Corporates optimise their Cash Flow"




To read FirstRand Bank's Disclaimer for this email click on the following
address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html

If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer@xxxxxxxxx and we will send you a copy of the
Disclaimer.

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




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.