From 671347cf13966299b00eeba2562c4ef7633982a8 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