node-ssdp icon indicating copy to clipboard operation
node-ssdp copied to clipboard

Creating client always ends in "No sockets available, cannot start."

Open marcmenn opened this issue 2 years ago • 2 comments

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

marcmenn avatar Jun 08 '22 15:06 marcmenn

Is this fixed already?

Nosferatu31 avatar Mar 03 '23 17:03 Nosferatu31

This is fixed in Node v18.4, see https://github.com/nodejs/node/blob/v18.4.0/lib/os.js

tschlechtweg avatar Apr 06 '23 12:04 tschlechtweg