/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/025735.html
https://github.com/whatwg/whatwg.org · HTML · 75 lines · 64 code · 4 blank · 7 comment · 0 complexity · e6ef9fe2dc17f38933f94717b241f986 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] WebSocket bufferedAmount includes overhead or not
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3C4BB2D5F1.3060106%40mit.edu%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="025707.html">
- <LINK REL="Next" HREF="025736.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket bufferedAmount includes overhead or not</H1>
- <!--htdig_noindex-->
- <B>Boris Zbarsky</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3C4BB2D5F1.3060106%40mit.edu%3E"
- TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">bzbarsky at MIT.EDU
- </A><BR>
- <I>Tue Mar 30 21:56:17 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="025707.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="025736.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#25735">[ date ]</a>
- <a href="thread.html#25735">[ thread ]</a>
- <a href="subject.html#25735">[ subject ]</a>
- <a href="author.html#25735">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>On 3/30/10 10:22 AM, Jonas Sicking wrote:
- ><i> Making it implementation dependent is likely to lead to website
- </I>><i> incompatibilities. Such as:
- </I>><i>
- </I>><i> ws = new WebSocket(...);
- </I>><i> ws.onopen = function() {
- </I>><i> ws.send(someString);
- </I>><i> if (ws.bufferedAmount> X) {
- </I>><i> doStuff();
- </I>
- Can bufferedAmount not change due to data actually hitting the network
- during the execution of this code? As in, will all the someString data
- be buffered immediately after that send() call?
- -Boris
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="025707.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="025736.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#25735">[ date ]</a>
- <a href="thread.html#25735">[ thread ]</a>
- <a href="subject.html#25735">[ subject ]</a>
- <a href="author.html#25735">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>