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

Signature
Daniel Dyer
http://www.dandyer.co.uk
Pep - 31 Aug 2005 13:54 GMT
>> 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
[quoted text clipped - 6 lines]
> the non-working version), then people will be able to see what is going
> wrong.
Yep, I'll do that in a mo.
> Dan.