Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: document dgram error event
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 18, 2011
1 parent 59a9a9b commit 8bdf6ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/dgram.markdown
Expand Up @@ -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`
Expand Down

0 comments on commit 8bdf6ba

Please sign in to comment.