Пример #1
0
 void reset() {
     io_service.reset();
 }
Пример #2
0
void Connection::poll()
{
    // reset must always be called prior to poll
    g_ioService.reset();
    g_ioService.poll();
}
Пример #3
0
void Connection::poll()
{
    g_ioService.poll();
    g_ioService.reset();
}