Boost.Asio – The Powerful C++ Asynchronous I/O library
Description
Any program may perform I/O operations in various forms like a file, a network , serial port or simple console operation. particularly in case of networking, sometimes individual I/O operation takes long time to complete. This poses its own kind of challenges: application development in managing CPU cycles and longer execution time etc. One option that comes to mind is to make a program multi-threaded and give the long running I/O operation to a thread. However, there is another solutions to the same problem and this is to perform I/O operations asynchronously.
There are few things to notice about asynchronous I/O over thread
Fill in the details below
Fill in the details below
Fill in the details below