Commit 3e0057dd authored by Brendan Ashworth's avatar Brendan Ashworth Committed by Ben Noordhuis
Browse files

dgram: change Socket.bind() to return itself

This commit changes `lib/dgram.js` Sockets to, when
they are bound to a port / IP, return themselves. This
is done in order to allow chaining of methods and be
in accordance with the `lib/net.js` library.

PR-URL: https://github.com/iojs/io.js/pull/214


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 0f3d7e60
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment