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 bf95392 commit 06daf52Copy full SHA for 06daf52
1 file changed
doc/api/dgram.md
@@ -337,7 +337,7 @@ the error is emitted as an `'error'` event on the `socket` object.
337
Offset and length are optional but both *must* be set if either are used.
338
They are supported only when the first argument is a `Buffer` or `Uint8Array`.
339
340
-Example of sending a UDP packet to a random port on `localhost`;
+Example of sending a UDP packet to a port on `localhost`;
341
342
```js
343
const dgram = require('dgram');
@@ -348,8 +348,8 @@ client.send(message, 41234, 'localhost', (err) => {
348
});
349
```
350
351
-Example of sending a UDP packet composed of multiple buffers to a random port
352
-on `127.0.0.1`;
+Example of sending a UDP packet composed of multiple buffers to a port on
+`127.0.0.1`;
353
354
355
0 commit comments