8 May
2011
8 May
'11
11 a.m.
Hi,
My EXACT problem is that when the THIRD client connects, after invoking ClientContext::asyncReadMessageFromSocketIntoQueue once and reaching the first yield, it is never invoked again, even if I passed the handler function.
I don't have answers to your questions, but I just would like to bring to your attention that, IUUC, Coroutines are neigher a part of official asio release, nor a part of boost, so there're little chances that many people are familiar with this library.
it's in /libs/asio/example/http/server4/coroutine.hpp and basically works with one huge switch-case construct. -- Best regards, michi7x7