From 216829e7520a56ef0bede9fc8387c2de9683e4c0 Mon Sep 17 00:00:00 2001 From: Alexander Uvarov Date: Sat, 23 Jul 2011 13:00:43 +0600 Subject: [PATCH] Docs for Socket::bytesRead, Socket::bytesWritten --- doc/api/net.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/net.markdown b/doc/api/net.markdown index f808dfae53a..fb1a4be8ae6 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -323,6 +323,14 @@ The string representation of the remote IP address. For example, The numeric representation of the remote port. For example, `80` or `21`. +#### socket.bytesRead + +The amount of received bytes. + +#### socket.bytesWritten + +The amount of bytes sent. + #### Event: 'connect'