Sounds like SO_REUSEADDR on Linux is equivalent to SO_REUSE_ADDR + SO_EXCLUSIVEADDR on Windows. Might be worth patching OTP to support it.
Alternatively the new socket NIF should be made to work properly with it from scratch. But since it wants to be low-level perhaps it wants both options exposed instead?
Sounds like
SO_REUSEADDRon Linux is equivalent toSO_REUSE_ADDR+SO_EXCLUSIVEADDRon Windows. Might be worth patching OTP to support it.Alternatively the new
socketNIF should be made to work properly with it from scratch. But since it wants to be low-level perhaps it wants both options exposed instead?