Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: options.family parameter to match node:net specification #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

telno
Copy link

@telno telno commented May 6, 2022

Per node documentation, family parameter should be numeric 0 (any), 4 (ipv4), or 6 (ipv6)

https://nodejs.org/docs/latest-v18.x/api/net.html#socketconnectoptions-connectlistener

Unknown why this didn't result in runtime error until node v18, but fails on recent build with string values 'ipv4' or 'ipv6'

@telno telno closed this May 23, 2022
@telno telno reopened this May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants