diff --git a/SQCSim-common/netprotocol.cpp b/SQCSim-common/netprotocol.cpp index 901f976..f10e8f9 100644 --- a/SQCSim-common/netprotocol.cpp +++ b/SQCSim-common/netprotocol.cpp @@ -963,23 +963,6 @@ std::vector netprot::recvPacks(SOCKET sock, Buffer* buf) { len += bytes; end = len; - for (int x = 0; x < len; ++x) - switch (buf->ptr[x]) { - case '\0': - std::putchar('n'); - break; - case '\r': - std::putchar('i'); - break; - case '\n': - std::putchar('a'); - break; - default: - std::putchar(buf->ptr[x]); - break; - } - std::puts(""); - while (true) { int cmp = 0; diff --git a/SQCSim-srv/server.cpp b/SQCSim-srv/server.cpp index efca9a9..fc2184e 100644 --- a/SQCSim-srv/server.cpp +++ b/SQCSim-srv/server.cpp @@ -147,9 +147,6 @@ int Server::Ready() { Log(str.append(log->name).append(" SID: [").append(std::to_string(log->sid).append("]")), false, false); - //using namespace std::chrono_literals; - //std::this_thread::sleep_for(100ms); - sendPack(sock, log, &m_buf); play.id = getUniqueId(); diff --git a/SQCSim2021/connector.cpp b/SQCSim2021/connector.cpp index 5be2f1a..d857f12 100644 --- a/SQCSim2021/connector.cpp +++ b/SQCSim2021/connector.cpp @@ -71,9 +71,6 @@ int Connector::Connect(const char* srv_addr, std::string name) { memset(bf.ptr, '\0', BUFFER_LENGTH); - using namespace std::chrono_literals; - std::this_thread::sleep_for(100ms); - bool ready = false; int errors = 0; std::vector lsPck;