Non-blocking connect BLOCKS
jtd
adwser at hotmail.com
Tue Apr 27 12:54:26 EDT 2004
Hi all,
I'm using asyncore to download a large list of web pages, and I've
noticed dispatcher.connect blocks for some hosts. I was under the
impression that non-blocking sockets do not block on connects, in
addition to reads and writes. My connect code is essentially the same
as the asyncore example:
http://docs.python.org/lib/asyncore-example.html
It seems unlikely that I am the first to encounter this problem, can
someone explain what's wrong and suggest a remedy?
Rob
More information about the Python-list
mailing list