diff options
author | crupest <crupest@outlook.com> | 2021-06-07 23:24:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-07 23:24:43 +0800 |
commit | 2dd9b0e926ed97b64f0e6c2b6c071feaab9c47a0 (patch) | |
tree | 6a87c790fc03e3e95f14de9a59257aec66ba65b7 /computer-network-experiment/Common.cpp | |
parent | 1dd5c424e198a59b3572352fd973fe34dad225d1 (diff) | |
download | life-2dd9b0e926ed97b64f0e6c2b6c071feaab9c47a0.tar.gz life-2dd9b0e926ed97b64f0e6c2b6c071feaab9c47a0.tar.bz2 life-2dd9b0e926ed97b64f0e6c2b6c071feaab9c47a0.zip |
...
Diffstat (limited to 'computer-network-experiment/Common.cpp')
-rw-r--r-- | computer-network-experiment/Common.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/computer-network-experiment/Common.cpp b/computer-network-experiment/Common.cpp index e4615fc..ec6fd1a 100644 --- a/computer-network-experiment/Common.cpp +++ b/computer-network-experiment/Common.cpp @@ -1,6 +1,6 @@ #include "Common.h"
-#include "Output.h"
+#include "IO.h"
#ifdef WIN32
#include <Windows.h>
@@ -70,12 +70,6 @@ void BeforeExit() { SignalAndWaitForOutputThreadStop();
}
-String ReadInputLine() {
- String line;
- std::getline(input_stream, line);
- return line;
-}
-
void SafeSend(int socket, std::string_view buffer) {
const int total_byte_count = buffer.size();
int byte_count_sent = 0;
|