luasocket
luasocket copied to clipboard
Add option for SO_EXCLUSIVEADDRUSE in Windows
Self-explanatory PR. I found a use case for this in my project so I am submitting the PR upstream.
See the MSDN docs for an explanation: https://learn.microsoft.com/en-us/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse
This looks completely legit as an outsider, but I don't have access to any Windows environments to actually test this. Do we happen to have any other brave Windows users out there that could give this PR a test drive?