![]() ![]() If the ingress rate is greater than the consumption rate, then a timeout may not be deterministic. As the " \r\n" character sequence is being used for a data boundary, consider using async_read_until() to respect data boundaries without having to introduce boundary handling within the application code. ![]() Boost.Asio provides a collection of timeout examples. While Boost.Asio neither provides non-blocking synchronous reads nor reads with timeouts for serial I/O objects, one can implement this behavior using asynchronous reads and timers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |