thread accepting connections can be cancelled/stopped externally

This commit is contained in:
Benjamin Sergeant
2019-01-01 16:11:27 -08:00
parent 9b82a33aff
commit 9a7767ecb1
3 changed files with 34 additions and 6 deletions

View File

@ -67,6 +67,7 @@ int main(int argc, char** argv)
}
server.start();
server.wait();
return 0;
}