Re: [twsocket] wsoNoReceiveLoop problem with bandwidth limiting

2006-12-31 Thread Jack
Thanks Francois and Wilfried for the replies. I still have no clue why it's causing TCP stack to send TCP zero window to the server... basically when the zero window packet shows up, the connection will break. -- Best regards, Jack Sunday, December 31, 2006, 12:59:40 AM, you wrote: >> So, my q

Re: [twsocket] wsoNoReceiveLoop problem with bandwidth limiting

2006-12-31 Thread Wilfried Mestdagh
In addition it also has a nice side effect. When it is set and you dont want to receive for a while then just dont receive in OnDataAvailable. Then from that moment OnDataAvailable will not fire until Receive is called once again. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/te

Re: [twsocket] wsoNoReceiveLoop problem with bandwidth limiting

2006-12-31 Thread Francois PIETTE
> So, my question is, what is wsoNoReceiveLoop for wsoNoReceiveLoop tell the component to not loop until the message queue has no more FD_READ messages. When a loop is done (default) the component receive data as fast as possible. This maybe result is heavy load on the computer when the network