From b71a3b363aa2c66fb8578457cb47dcd92135d999 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 8 Dec 2015 16:55:45 +0000 Subject: [PATCH] doc: fixup socket.remoteAddress remoteAddress may be undefined under certain conditions Signed-off-by: Arthur Gautier PR-URL: https://github.com/nodejs/node/pull/4198 Reviewed-By: Evan Lucas Reviewed-By: James M Snell Reviewed-By: Rod Vagg --- doc/api/net.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 85bf6a7497d81c..9767c4ffd633ce 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -413,7 +413,8 @@ Returns `socket`. ### socket.remoteAddress The string representation of the remote IP address. For example, -`'74.125.127.100'` or `'2001:4860:a005::68'`. +`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if +the socket is destroyed (for example, if the client disconnected). ### socket.remoteFamily