CSocket problem
From: Riverwind (riverwind_at_mail.tele-dk.fjernmig)
Date: 06/10/04
- Next message: Eric: "How to install a certificate from a .cer file?"
- Previous message: Artem: "KBBAR and BS_OWNERDRAW BUTTON"
- Next in thread: Mohamed Imam: "RE: CSocket problem"
- Reply: Mohamed Imam: "RE: CSocket problem"
- Reply: Scott McPhillips [MVP]: "Re: CSocket problem"
- Reply: Joseph M. Newcomer: "Re: CSocket problem"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Eric: "How to install a certificate from a .cer file?"
- Previous message: Artem: "KBBAR and BS_OWNERDRAW BUTTON"
- Next in thread: Mohamed Imam: "RE: CSocket problem"
- Reply: Mohamed Imam: "RE: CSocket problem"
- Reply: Scott McPhillips [MVP]: "Re: CSocket problem"
- Reply: Joseph M. Newcomer: "Re: CSocket problem"
- Messages sorted by: [ date ] [ thread ]