[whatwg] Issues with Web Sockets API

Kristof Zelechovski giecrilj at stegny.2a.pl
Sat Jun 27 02:07:46 PDT 2009


Cellular phone signal strength bars are not implemented on top of Web
Sockets so this cannot make a use case.  This is rather a hardware thing.

On the other hand, I concur that a network queue overflow should be handled
differently than an out-of-memory condition.  For example, if you have an
infinite enumerator sending data to memory à la chargen service, an overflow
failure is guaranteed and the programmer will have to do something about it;
on the other hand, if the same enumerator sends data to a network, the
failure will be random, depending on enumerator speed, network throughput
and receiver capabilities.

I think that the output buffer should not grow unbounded and the sending
worker should be stopped while the buffer is full.

Cheers,

Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090627/1a383391/attachment.htm>


More information about the whatwg mailing list