We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a241269 + 9bb5f77 commit 35157b7Copy full SHA for 35157b7
lib/connection.js
@@ -32,7 +32,9 @@ function createStream(opts) {
32
try {
33
switch (family.toLowerCase()) {
34
case 'tcp':
35
- throw new Error('tcp dbus connections are not supported');
+ host = params.host || 'localhost';
36
+ port = params.port;
37
+ return net.createConnection(port, host);
38
case 'unix':
39
if (params.socket) {
40
return net.createConnection(params.socket);
0 commit comments