Skip to content

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

Open
telno wants to merge 1 commit into
neumino:masterfrom
telno:master
Open

Fix: options.family parameter to match node:net specification#400
telno wants to merge 1 commit into
neumino:masterfrom
telno:master

Conversation

@telno

@telno telno commented May 6, 2022

Copy link
Copy Markdown

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