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



Sounds like the iSeries side is sending all the data then closing the socket
before the data can be received. On small files you just get lucky and time
it takes to shut down is long enough for the PC to rceive all the data.

I don't see the need to do the ack after every record. I would just do it at
end-of-file.

Just send something back the other way after end-of-file. That means the PC
has to know when the end-of-file has been received. So you need to invent an
end-of-file character or string (any character or string that won't be
present in your actual data), and have the iSeries send that to the PC after
all the data has been sent, THEN have the iSeries go into a receive waiting
for an acknowledgement (invent that too, any character or string you like).

On the PC side, receive the data just as you have been doing, but monitor
for the end-of-file character (or string) and only after it has been
received, send the acknowledgement character (or string) to the iSeries.

This should keep the pipe open until the PC has had a chance to receive all
the data.

Sorry if this has already been suggested - I did not follow this entire
thread.

-Marty

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.