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 924f603 commit 7169436Copy full SHA for 7169436
doc/api/dgram.markdown
@@ -6,6 +6,21 @@
6
7
Datagram sockets are available through `require('dgram')`.
8
9
+Important note: the behavior of `dgram.Socket#bind()` has changed in v0.10
10
+and is always asynchronous now. If you have code that looks like this:
11
+
12
+ var s = dgram.createSocket('udp4');
13
+ s.bind(1234);
14
+ s.addMembership('224.0.0.114');
15
16
+You have to change it to this:
17
18
19
+ s.bind(1234, function() {
20
21
+ });
22
23
24
## dgram.createSocket(type, [callback])
25
26
* `type` String. Either 'udp4' or 'udp6'
0 commit comments