From ee8f6d153b6d92547775eb75112d9af5f1d101cc Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Wed, 18 Nov 2020 01:08:34 -0300 Subject: [PATCH] Update article.md --- 5-network/11-websocket/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-network/11-websocket/article.md b/5-network/11-websocket/article.md index 31033403..c9febf33 100644 --- a/5-network/11-websocket/article.md +++ b/5-network/11-websocket/article.md @@ -194,7 +194,7 @@ Imagine, our app is generating a lot of data to send. But the user has a slow ne We can call `socket.send(data)` again and again. But the data will be buffered (stored) in memory and sent out only as fast as network speed allows. -The `socket.bufferedAmount` property stores how many bytes are buffered at this moment, waiting to be sent over the network. +The `socket.bufferedAmount` property stores how many bytes remain buffered at this moment, waiting to be sent over the network. We can examine it to see whether the socket is actually available for transmission.