Browse Source

docs: document dgram error event

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
8bdf6bae30
  1. 8
      doc/api/dgram.markdown

8
doc/api/dgram.markdown

@ -23,6 +23,14 @@ are created.
Emitted when a socket is closed with `close()`. No new `message` events will be emitted
on this socket.
#### Event: 'error'
`function (exception) {}`
Emitted when an error occurs.
---
### dgram.createSocket(type, [callback])
Creates a datagram socket of the specified types. Valid types are `udp4`

Loading…
Cancel
Save