Closed kydos closed 6 years ago
Are you asking for a method for setting SO_REUSEADDR
to be added?
The method that sets the SO_REUSEADDR is already in place but that is not sufficient in some cases, e.g. UPD socket bound to 0.0.0.0:1234 that joins a multicast address say 239.255.0.1 and for which you may have multiple apps joining the same (multicast-addres,port) on the same host. On MacOS that requires you to set SO_REUSEPORT.
Makes sense?
We support reuse port now in Vapor 3.
Hello,
Below the code:
Ciao, Kydos