socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

localAddress with family option

Open kiwina opened this issue 6 years ago • 0 comments

Note: for support questions, please use one of these channels: stackoverflow or slack

You want to:

  • [x] report a bug
  • [ ] request a feature

Current behaviour

Using localAddress has no effect on ipv6

Steps to reproduce (if the current behaviour is a bug)

use localAddress with ipv6

Expected behaviour

Setup

  • OS: Ubuntu 18.4
  • browser: node.js
  • engine.io version: 3.4.0

Other information (e.g. stacktraces, related issues, suggestions how to fix)

i haven't tested with ws protocol but looking at the code base it accepts all http & https options xmlhttprequest-ssl does not include localAddress and family so a pull request would be needed to add the two otions in order to make it work and possibly make it node.js only?

kiwina avatar Nov 07 '19 14:11 kiwina