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 @@ -1136,7 +1136,8 @@ added: v0.11.14
11361136
11371137* {string}
11381138
1139- The string representation of the remote IP family. ` 'IPv4' ` or ` 'IPv6' ` .
1139+ The string representation of the remote IP family. ` 'IPv4' ` or ` 'IPv6' ` . Value may be ` undefined ` if
1140+ the socket is destroyed (for example, if the client disconnected).
11401141
11411142### ` socket.remotePort `
11421143
@@ -1146,7 +1147,8 @@ added: v0.5.10
11461147
11471148* {integer}
11481149
1149- The numeric representation of the remote port. For example, ` 80 ` or ` 21 ` .
1150+ The numeric representation of the remote port. For example, ` 80 ` or ` 21 ` . Value may be ` undefined ` if
1151+ the socket is destroyed (for example, if the client disconnected).
11501152
11511153### ` socket.resetAndDestroy() `
11521154
You can’t perform that action at this time.
0 commit comments