• Guido van Rossum's avatar
    Fix non-blocking connect() for Windows. Refactored the code · 7b8bac10
    Guido van Rossum yazdı
    that retries the connect() call in timeout mode so it can be shared
    between connect() and connect_ex(), and needs only a single #ifdef.
    
    The test for this was doing funky stuff I don't approve of,
    so I removed it in favor of a simpler test.  This allowed me
    to implement a simpler, "purer" form of the timeout retry code.
    Hopefully that's enough (if you want to be fancy, use non-blocking
    mode and decode the errors yourself, like before).
    7b8bac10
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...