fix : 더미클라 시간계산 버그 수정

This commit is contained in:
qornwh1
2026-03-02 16:15:05 +09:00
parent 5dc944d644
commit 8fcdd3494e
3 changed files with 67 additions and 5 deletions

View File

@@ -128,7 +128,7 @@ public abstract class ServerBase : INetEventListener
// 0이라면 에코 서버 테스트용 따로 처리
if (type == 0)
{
HandleEcho(peer, payload);
HandleEcho(peer, data);
return;
}
@@ -190,6 +190,8 @@ public abstract class ServerBase : INetEventListener
// 세션에 넣지는 않는다.
NetDataReader reader = new NetDataReader(payload);
short code = reader.GetShort();
short bodyLength = reader.GetShort();
Log.Debug("[Echo] : addr={Addr}, str={Str}", peer.Address, reader.GetString());
SendTo(peer, payload);
}