NodenetSocket.prototype.refmethod Socket.prototype.ref#Socket.prototype.ref(): thisOpposite of unref(), calling ref() on a previously unrefed socket will not let the program exit if it's the only socket left (the default behavior). If the socket is refed calling ref again will have no effect. Return Type #thisThe socket itself.
method Socket.prototype.ref#Socket.prototype.ref(): thisOpposite of unref(), calling ref() on a previously unrefed socket will not let the program exit if it's the only socket left (the default behavior). If the socket is refed calling ref again will have no effect. Return Type #thisThe socket itself.