property
TCPSocket.bytesWritten
readonly bytesWritten: number
The total number of bytes successfully written to the socket since it was established. This includes data currently buffered by the OS but not yet acknowledged by the remote peer.