j
k
j a
j l
if (message.compare("SHUTDOWN") == 0) { //how to terminate the server through an incoming message ? acceptor->close(); io_service.stop(); }
Why can't you just break the loop?
Back to the thread
Back to the list