Commit 45c70b0c authored by Jackson Tian's avatar Jackson Tian Committed by Daniel Bevenius
Browse files

net: use connect() instead of connect.call()

Use socket.connect() directly.

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


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarThomas Watson <w@tson.dk>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent d2de8291
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment