Tuesday 13 February 2018

Does node keep internal reference of all TCP client sockets?

I am wondering if when I call client = net.connect node keep an array of all sockets created with this method.If in one function I 1. create socket 2. send message/recv resp. 3. socket.end, and then the function disappear from stack, if any other references to client remain internally in node

Submitted February 14, 2018 at 12:19AM by MyyHealthyRewards

No comments:

Post a Comment