I am currently working on a Flash socket client for an existing service / standard. The service uses TCP flow control to throttle itself, and the Flash socket reads as fast as possible, even though it cannot process it as fast as it does. This leads to the fact that bytesAvailable in the juice continues to increase, and the server never knows that the client is lagging.
In short, is there any way to limit the size of bytes available to a Flash Socket object or otherwise shut it down?
Note. Overwriting the server is not a viable option at this time, since it is standard and the client utility crashes very much if changes are needed on the server side.
source
share