Unverified Commit 592be014 authored by Fedor Indutny's avatar Fedor Indutny
Browse files

dgram: introduce `reuseAddr` option



Introduce new signature for both `dgram.createSocket` method and
`dgram.Socket` constructor:

    dgram.createSocket(options, [listener])

Options should contain `type` property and may contain `reuseAddr`
property. When `reuseAddr` is `true` - SO_REUSEADDR will be issued on
socket on bind.

fix #7415

Signed-off-by: default avatarFedor Indutny <fedor@indutny.com>
parent c20b209d
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