Re: Duplex socket receiving data too fast?



Daniel Dyer wrote:

> On Wed, 31 Aug 2005 12:45:35 +0100, Pep <pep@xxxxxxxxxxx> wrote:
>> However this is not what I need to do. I am attempting to jump from a
>> central method to a helper method to write a message over the socket then
>> when I have returned back to the original method I attempt to read the
>> data in but there is no data to read!
>
> Is the helper method working on the same thread?
>

Yes it is.

>> It's almost as if the socket only holds the data for a minute amount of
>> time, which is less then amount of time taken to return through the
>> stack,
>> then purges the content.
>>
>> Any ideas why this is happening?
>
> You should probably post your code (both versions the working version and
> the non-working version), then people will be able to see what is going
> wrong.
>

Yep, I'll do that in a mo.

> Dan.
>

.