CSocket problem

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Riverwind (riverwind_at_mail.tele-dk.fjernmig)
Date: 06/10/04


Date: Thu, 10 Jun 2004 08:35:33 +0100

Hi there

I'm having a problem with a byte stream socket connection. It seems that in
heavy traffic, the receive buffer sometimes gets full. As the byte stream is
interpreted as messages in the application I end up with half a message. So
I expect the missing half to appear during the next OnReceive(..). But it
seems that some bytes are lost, and as I don't have start/stop indicators on
the messages (only a length field) I go totally off track.
Will the socket actually throw away received traffic when the incoming
buffer is full, or?

/Riverwind


Quantcast