[Python-Dev] 2.4 asyncore headache

Tim Peters tim.peters at gmail.com
Fri Aug 13 22:25:07 CEST 2004


[Tim]
>> Now somebody, for some reason, added this to 2.4's asyncore.py:
>>             if sys.platform == 'win32':
>>                 reuse_constant = socket.SO_EXCLUSIVEADDRUSE

[Andrew]
> I'll back out this change.

But only if that's the right thing to do <0.9 wink>.  I gave up
reading the Windows SO_EXCLUSIVEADDRUSE docs after it got to the "This
situation can be quite complicated; even though the socket has been
closed, the underlying transport may not terminate its connection ..."
part.  But by that point, it sure didn't seem like SO_EXCLUSIVEADDRUSE
was a plausible Windowsy way to spell the Unixy SO_REUSEADDR ...


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant