[Live-devel] About the right usage
ofturnOnBackgroundReadHandling()
Aeschbacher Fabrice
Fabrice.Aeschbacher at siemens.com
Fri Nov 5 15:38:22 PST 2004
Hi Ross,
> I think your code is basically OK. However, what I think is
> happening is
> that your "incomingPacketHandler()" function is getting
> called at a faster
> rate than you're actually processing the incoming packets.
>
> To overcome this, try adding the following to the (very) start
> of "BasicTCPSource::incomingPacketHandler1()":
>
> if (!isCurrentlyAwaitingData()) return;
>
> Please let us know if that makes a difference.
>
> Ross Finlayson
Thanks for your advice: it was indeed the solution.
Best regards,
Fabrice Aeschbacher
More information about the live-devel
mailing list