Replies: 0 comments 1 reply
-
@nodejs/net |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read the node.js source code to understand how the library works.
For example, this code:
The
listen
method from js will logically callTCPWrap::Listen
. But if we look at the parameters ofTCPWrap::Listen
we will see thisconst FunctionCallbackInfo<Value>& args
. It turns out that the call from js does not callTCPWrap::Listen
, what happens then?Where does the call to
TCPWrap::Listen
occur and what causes this operation?Beta Was this translation helpful? Give feedback.
All reactions