node-ssdp
node-ssdp copied to clipboard
Creating client always ends in "No sockets available, cannot start."
https://github.com/diversario/node-ssdp/blob/0756bd0eff034f47cd23b7303f85abb22dc7d6b1/lib/index.js#L165
Node 18 changed type of family
to number, so this will always result in Error No sockets available, cannot start.
Possible fix: https://github.com/SuiOni/node-ssdp/commit/532022d170a568397d7db0fbbb306fbac1d8376e
Is this fixed already?
This is fixed in Node v18.4, see https://github.com/nodejs/node/blob/v18.4.0/lib/os.js