bufferedAmount property

Returns the number of bytes of data (UTF-8 text and binary data) that have been queued using send() but at this time, have not yet been transmitted to the network

This property is read-only.


lNumber = object.bufferedAmount


Property values

Type: unsigned long

Number of bytes in the data buffer.


This can be used to determine whether the network can handle the data rate you are sending.

See also

WebSockets in Windows
WebSockets RFC 6455
The WebSocket API