diff options
author | crupest <crupest@outlook.com> | 2021-06-07 14:05:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-07 14:05:51 +0800 |
commit | 6774bcc32ac23728827b36a8c2c2350e811f7940 (patch) | |
tree | ee55e8f7ca3ef7c937dd797f863016dfb740e21b /computer-network-experiment/client.cpp | |
parent | 7f2badbf713d37a75df03c1e0704ddab6af06627 (diff) | |
download | life-6774bcc32ac23728827b36a8c2c2350e811f7940.tar.gz life-6774bcc32ac23728827b36a8c2c2350e811f7940.tar.bz2 life-6774bcc32ac23728827b36a8c2c2350e811f7940.zip |
...
Diffstat (limited to 'computer-network-experiment/client.cpp')
-rw-r--r-- | computer-network-experiment/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/computer-network-experiment/client.cpp b/computer-network-experiment/client.cpp index f209171..5d5075e 100644 --- a/computer-network-experiment/client.cpp +++ b/computer-network-experiment/client.cpp @@ -48,8 +48,8 @@ int Main() { std::string s(buffer, received_number);
- SendOutput(CRUT("Received message:\n"));
+ SendOutput(CRUT("Received message:\n{}\n"), ConvertCharString(s));
- Close(client_socket);
+ CloseSocket(client_socket);
return 0;
}
|