fix : 더미클라 시간계산 버그 수정
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user