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
{{ message }}
Repository navigation
doc net: incorrect error handling documented for listen() #5345
Under the section https://nodejs.org/api/net.html#net_server_address it states that the error is passed to the listen() callback. This is incorrect. The error is passed to the server's 'error' event handler. Like so:
Filing this instead of simply fixing this one occurrence b/c unsure if more cases like this exist, and don't have the time to investigate at the moment.
Activity
evanlucas commentedon Feb 25, 2016
Fixed by 581606a
doc: clarify error handling in net.createServer
doc: clarify error handling in net.createServer
doc: clarify error handling in net.createServer
doc: clarify error handling in net.createServer
doc: clarify error handling in net.createServer
doc: clarify error handling in net.createServer