asyncore.dispatcher.handle_read

Indy indy90 at gmail.com
Thu Jan 25 18:18:12 CET 2007


Greetings.

I am writing an asynchronous server, and I use the standard library's
module asyncore.
I subclass asyncore.dispatcher. handle_accept works just right, that
is, when a client socket makes a request to connect to my server
socket, things that I set in handle_accept definition, happen. So, it
is OK. But, the problem is that handle_read does not work as expected.
Things I set in handle_read definition, do not happen when a client
socket sends me data. Why? Is this a known problem? Please, can you
help me?
Thanks a lot, in advance.

Best regards,
Aristotelis Mikropoulos

-- 
Programs must be written for people to read, and only incidentally for
machines to execute.



More information about the Python-list mailing list