S
S
stavinsky2013-08-07 11:49:03
Python
stavinsky, 2013-08-07 11:49:03

Asyncore scheduler - delayed or recurring tasks for asyncore

Colleagues, I want to share my little craft, maybe someone will be interested.
Some time ago I wrote a program to compare data from 2 DDE servers based on asyncore.

Empirically, I realized that in order for the connection between the server and the client
(the server is a proprietary closed program) not to break,
I need to send "> Ping \r\n" to the server once in a while.

After a lot of searching, I never found a simple solution and decided to try to write it myself.

Here's what happened: github.com/stavinsky/asyncore_scheduler

Actually I'm writing in questions because I don't consider myself a programmer and I'm not sure that someone will be
interested in seeing this in the form of an article, but at the same time I want to get feedback.

So if anyone is interested: look, use.
I hope for fair feedback that will help make the code better.

PS I know that twisted is better and everything is already out of the box.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question