thread accepting connections can be cancelled/stopped externally

This commit is contained in:
Benjamin Sergeant
2019-01-01 16:11:27 -08:00
parent ead54d6c37
commit 7c4f14f941
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;
}