完成了最基础的通讯

This commit is contained in:
2023-12-15 08:28:21 +00:00
parent 0643c4372b
commit cd7fb7946c
2 changed files with 44 additions and 51 deletions

View File

@ -94,7 +94,7 @@ void BookStoreMain(bool is_server, std::string config_dir) {
std::cout.flush();
} else {
std::cout << session_token << ' ' << operation_token
<< " 1\n[nobody] -1" << std::endl;
<< " 1\n[nobody] 0" << std::endl;
std::cout.flush();
}
} else if (cmd[1] == 'R') {