Asyncoro 1.2 is released. This version supports distributed files and changes the authorization protocol to MIT.
The asyncore library is a standard library of python, which is an asynchronous socket package. We can directly use underlying libraries such as sockets when operating the network, but asyncore makes it easier for us to operate the network and avoid directly using socket, select, poll and other tools are complex.
This library is simple and contains a function and a class.
Loop () function, dispatcher base class
It should be noted that the loop function is global, not the dispatcher method.
Every class Object inherited from dispatcher can be considered as a socket to be processed, such as a TCP connection or UDP, or even an uncommon one. It is easy to use. We need to define a class that inherits the dispatcher, and then overwrite it.) Some methods can be used.
Asyncoro: click here
Link: http://www.oschina.net/news/31910/asyncoro-1-2
Edit recommendations]