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