Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

docs: document dgram error event

  • Loading branch information...
bnoordhuis committed Nov 18, 2011
1 parent 59a9a9b commit 8bdf6bae3062b06f947e1cde971e976020a2a490
Showing with 8 additions and 0 deletions.
  1. +8 −0 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`

0 comments on commit 8bdf6ba

Please sign in to comment.
You can’t perform that action at this time.