ws2_32: Allow using duplicated socket handles in closesocket().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56927

This is similar to a08d6d8b, but just for closesocket().

Testbot run with this patch

Merge request reports

Loading