| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 57ba51e commit 85f70b3
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -532,8 +532,8 @@ a listener for the `'listening'` event. See also [`net.Server.listen(path)`][]. | |||
| 532 | 532 | ||
| 533 | 533 | Begin accepting connections on the specified `port` and `hostname`. If the | |
| 534 | 534 | `hostname` is omitted, the server will accept connections on any IPv6 address | |
| 535 | - (`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. A | ||
| 536 | - port value of zero will assign a random port. | ||
| 535 | + (`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a | ||
| 536 | + port value of zero to have the operating system assign an available port. | ||
| 537 | 537 | ||
| 538 | 538 | To listen to a unix socket, supply a filename instead of port and hostname. | |
| 539 | 539 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,8 +178,8 @@ The parameter `backlog` behaves the same as in | |||
| 178 | 178 | ||
| 179 | 179 | Begin accepting connections on the specified `port` and `hostname`. If the | |
| 180 | 180 | `hostname` is omitted, the server will accept connections on any IPv6 address | |
| 181 | - (`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. A | ||
| 182 | - port value of zero will assign a random port. | ||
| 181 | + (`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a | ||
| 182 | + port value of `0` to have the operating system assign an available port. | ||
| 183 | 183 | ||
| 184 | 184 | Backlog is the maximum length of the queue of pending connections. | |
| 185 | 185 | The actual length will be determined by the OS through sysctl settings such as | |
| Back | FazBrowse Home | New Git URL |
0 commit comments