Jeremy White jwhite@codeweavers.com writes:
It's been years since I was a Stevens expert, but there was a day when I was, and my gut reaction to that patch was one of shuddering horror. In fact, I really should argue for the complete reversal of the patch until a regression test can conclusively prove that Window misbehaves in such a horrid way (i.e. auto doing a reuseaddr and not using DONTROUTE).
Well, the patch apparently helps in some cases and hurts in others, so the only way to decide is to write a test and determine what the exact behavior is under Windows. I agree the current behavior looks wrong, but that doesn't mean anything when dealing with Microsoft code...