-
Notifications
You must be signed in to change notification settings - Fork 62
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
Getting EBADF #2
Comments
I'm getting: Error: addMembership EBADF
at new errnoException (dgram.js:352:11)
at Socket.addMembership (dgram.js:278:11)
at new ControlPoint (/Users/sam/projects/dlnaremote/node-upnp-client/lib/upnp.js:34:15)
at Object.<anonymous> (/Users/sam/projects/dlnaremote/node-upnp-client/test.js:4:20)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40) |
Ok, found it You have to put this this.server.addMembership(BROADCAST_ADDR); behind this this.server.bind(SSDP_PORT); as stated here: nodejs/node-v0.x-archive#3254 (comment) |
SamDecrock
added a commit
to SamDecrock/node-upnp-client
that referenced
this issue
May 31, 2012
It didn't work for me.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
34: this.server.addMembership(BROADCAST_ADDR); is throwing an EBADF exception
The text was updated successfully, but these errors were encountered: