njh / node-owfs

A node.js client library for the owserver protocol in owfs
https://www.npmjs.com/package/owfs
MIT License
10 stars 4 forks source link

Allow connections over IPv6 #23

Closed njh closed 7 years ago

njh commented 7 years ago

owserver seem to bind to ::1 by default sometimes

njh commented 7 years ago

Verified that node-owfs works with both IPv4 and IPv6.

This didn't seem to be doing anything:

var socket = new net.Socket({
    type: 'tcp4'
});

owserver only seems to listen on a single port family. For example this will only listen on IPv4:

####################### OWSERVER ########################

server: port = 4304

(tested using owfs version 2.8p15-1)