You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This segment of code looks slightly different from the rest of the comparisons to "undefined" throughout the code. Is it missing a typeof operator? It's been pretty-printed / cleaned by me, but you should get the general idea to look at net.Socket.prototype.setKeepAlive
Activity
525c1e21-bd67-4735-ac99-b4b0e5262290 commentedon Nov 8, 2012
If the aim is to comply with http://nodejs.org/api/net.html#net_socket_setkeepalive_enable_initialdelay ...
Then yes, this code is incorrect.