File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1171,7 +1171,8 @@ added: v0.11.14
11711171
11721172* {string}
11731173
1174- The string representation of the remote IP family. ` 'IPv4' ` or ` 'IPv6' ` .
1174+ The string representation of the remote IP family. ` 'IPv4' ` or ` 'IPv6' ` . Value may be ` undefined ` if
1175+ the socket is destroyed (for example, if the client disconnected).
11751176
11761177### ` socket.remotePort `
11771178
@@ -1181,7 +1182,8 @@ added: v0.5.10
11811182
11821183* {integer}
11831184
1184- The numeric representation of the remote port. For example, ` 80 ` or ` 21 ` .
1185+ The numeric representation of the remote port. For example, ` 80 ` or ` 21 ` . Value may be ` undefined ` if
1186+ the socket is destroyed (for example, if the client disconnected).
11851187
11861188### ` socket.resetAndDestroy() `
11871189
You can’t perform that action at this time.
0 commit comments