We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bd176 commit c4c8b3bCopy full SHA for c4c8b3b
doc/api/dgram.markdown
@@ -358,6 +358,7 @@ s.bind(1234, () => {
358
## `dgram` module functions
359
360
### dgram.createSocket(options[, callback])
361
+
362
* `options` Object
363
* `callback` Function. Attached as a listener to `'message'` events.
364
* Returns: Socket object
@@ -378,7 +379,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
378
379
and `udp6` sockets). The bound address and port can be retrieved using
380
[`socket.address().address`][] and [`socket.address().port`][].
381
-## dgram.createSocket(type[, callback])
382
+### dgram.createSocket(type[, callback])
383
384
* `type` String. Either 'udp4' or 'udp6'
385
0 commit comments