client derived from async_chat

Patrick Useldinger pu at nodomain.lu
Mon Aug 18 16:35:54 EDT 2003


Erik Max Francis wrote:

> The bigger question is why you're asking the socket to not block when it
> appears that you really want it to (since your logic isn't handling the
> case when it doesn't).

See my answer to Heiko; it's the class asyncore which handles the 
(non-)blocking staff, and I relied on that. Now that I've overridden the 
connect() method for my client, it works fine.

Thanks for your help.

-Patrick

-- 
Real e-mail address is 'cHVAdm8ubHU=\n'.decode('base64')
Visit my Homepage at http://www.homepages.lu/pu/





More information about the Python-list mailing list