Update article.md
This commit is contained in:
parent
1ba96d43ce
commit
ee8f6d153b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue