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
1171
1171
1172
1172
* {string}
1173
1173
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).
1175
1176
1176
1177
### ` socket.remotePort `
1177
1178
@@ -1181,7 +1182,8 @@ added: v0.5.10
1181
1182
1182
1183
* {integer}
1183
1184
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).
1185
1187
1186
1188
### ` socket.resetAndDestroy() `
1187
1189
You can’t perform that action at this time.
0 commit comments