AsyncIO - how to use it?
-
Hi, I need to retrive a list from IP server. Do you know how to do it by AsyncIO? Even good referance will be great... Thanks! :confused:
Run, don't walk, to the Boost website (http://www.boost.org/)and grab yourself a copy of the complete libraries. Start compiling it and while you're waiting start looking at the documentation for the asio library - http://www.boost.org/doc/libs/1\_46\_1/doc/html/boost\_asio.html. Another option would be to go and have a look at ACE (http://www.cs.wustl.edu/~schmidt/ACE.html). It's a bit older code base with a clunkier interface but still worth a look. Both of them do the job of asynchronous network I/O really well. I found the Boost library easier to use but then I've been programming C++ for a while now. I imagine if you were less experienced then ACE might be the better option as the interface is older from the time before C++ was so well understood and standardised. Good luck! Ash
-
Hi, I need to retrive a list from IP server. Do you know how to do it by AsyncIO? Even good referance will be great... Thanks! :confused:
not sure, but maybe https://djangostars.com/blog/asynchronous-programming-in-python-asyncio/this guide will help