Also if you are having an issue with rebining to the same port after you restart the app... the OS holds the port in in reserve after your app exists/crashes. You can use the OptReusePort to get around this. socket.setSockOpt(OptReusePort, true) Run
- How to detect EADDRINUSE from an OSError exception adnan
- Re: How to detect EADDRINUSE from an OSError exception kidandcat
- Re: How to detect EADDRINUSE from an OSError exception treeform