Skip to content

[v10.x-backport] src: extract common Bind method

TCPWrap::Bind and TCPWrap::Bind6 share a large amount of functionality, so a common Bind was extracted to remove duplication.

PR-URL: https://github.com/nodejs/node/pull/22315

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading