Update article.md

This commit is contained in:
joaquinelio 2020-11-18 01:08:34 -03:00 committed by GitHub
parent 1ba96d43ce
commit ee8f6d153b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.