dbusjs / node-dbus-next

🚌 The next great dbus library for node
https://www.npmjs.com/package/dbus-next
156 stars 52 forks source link

nodejs now support abstract unix socket #127

Open guoh27 opened 3 months ago

guoh27 commented 3 months ago

According to nodejs.org/api/net

image

Here maybe need a try catch with net.createConnection('\u0000' + params.abstract);

https://github.com/dbusjs/node-dbus-next/blob/6b8f447ff85f8cfe3f5da307b7041085e9fec2cc/lib/connection.js#L47-L52