-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: write ENOTSUP #98
Comments
Actually there is a quite trivial workaround for this: const SSDP = require('node-ssdp').Server, server = new SSDP({
reuseAddr: false,
sourcePort: {
port: 1900, exclusive: true
},
......
}); Although this throws the warning:
but meh, it does work now :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This error is throw in Windows when using node-ssdp from a cluster's worker - long story short, the socket needs to be bind'ed with the
exclusive
flag set.See wankdanker/node-discover#18
The text was updated successfully, but these errors were encountered: