in reply to Re: Socket buffer issue
in thread Socket buffer issue

That is the correct code. We are picking up individual time stamp files. I only put the piece of code in that I am having issues with but I am picking up all the transactions that are in the directory storing them in an array and pushing them across one at a time. So I connect, check to see the file meets my requirement, push it across, and wait for acknowledgment. If the array stores one file I get a blank response. If I have two or more files the first response is blank and all responses that follow are the acknowledgment for the previous file. I am using a foreach loop based on the transaction array.

Replies are listed 'Best First'.
Re^3: Socket buffer issue
by ikegami (Patriarch) on Apr 01, 2011 at 06:48 UTC
    The problem is on the server side.
      Why do you say it is a server issue? Because they are sending a blank statement followed by a line break? Is there a way to work around that because I don't think I am going to get them to change their code based on previous conversations with them. Thanks.

        I started writing an answer to your question when I realised there were other possibilities. Therefore, I retract my claim.

        I'll have another look when you post the code that suffers from the problem you are describing. (There is only one response in the code you posted.)