Open torresclucia opened 2 years ago
Hi!
First of all, thanks for your PR!
I think you are trying to avoid the error "ERROR on binding:Address already in use.". Is that it?
As they say at https://stackoverflow.com/questions/24194961/how-do-i-use-setsockoptso-reuseaddr, Note than in addition to SO_REUSEADDR, you might need to set SO_REUSEPORT to get the desired behavior
, so we will have to include it as well.
…-do-so-reuseaddr-and-so-reuseport-differ
https://stackoverflow.com/questions/14388706/how-do-so-reuseaddr-and-so-reuseport-differ