Re: Duplex socket receiving data too fast?
- From: "Daniel Dyer" <dan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 12:51:19 +0100
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?
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.
-- Daniel Dyer http://www.dandyer.co.uk .
- Follow-Ups:
- References:
- Duplex socket receiving data too fast?
- From: Pep
- Duplex socket receiving data too fast?
- Prev by Date: Duplex socket receiving data too fast?
- Next by Date: Re: Commenting in Java
- Previous by thread: Duplex socket receiving data too fast?
- Next by thread: Re: Duplex socket receiving data too fast?
- Index(es):
Relevant Pages
|