8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09437e0 commit 536c3d0Copy full SHA for 536c3d0
test/internet/test-net-connect-timeout.js
@@ -15,9 +15,11 @@ var gotConnect = false;
15
16
var T = 100;< 7C89 /code>
17
18
-
19
-// 240.*.*.*.* is "reserved for future use"
20
-var socket = net.createConnection(9999, '240.0.0.0');
+// 192.0.2.1 is part of subnet assigned as "TEST-NET" in RFC 5737.
+// For use solely in documentation and example source code.
+// In short, it should be unreachable.
21
+// In practice, it's a network black hole.
22
+var socket = net.createConnection(9999, '192.0.2.1');
23
24
socket.setTimeout(T);
25
0 commit comments