diff options
Diffstat (limited to 'doc/api/dgram.md')
-rw-r--r-- | doc/api/dgram.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md index f4ae367527..38d9492be8 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -83,6 +83,7 @@ added: v0.1.99 The `'message'` event is emitted when a new datagram is available on a socket. The event handler function is passed two arguments: `msg` and `rinfo`. + * `msg` {Buffer} The message. * `rinfo` {Object} Remote address information. * `address` {string} The sender address. @@ -241,6 +242,7 @@ socket.bind({ <!-- YAML added: v0.1.99 --> + * `callback` {Function} Called when the socket has been closed. Close the underlying socket and stop listening for data on it. If a callback is |