添加接收数据hex显示
This commit is contained in:
parent
8747f10fd0
commit
659cf4be48
@ -430,7 +430,7 @@ class MyServer(socketserver.BaseRequestHandler):
|
||||
s2f.save2file(data)
|
||||
t = f"从{str(self.client_address)}<->[{get_ccid(conn).decode() if get_ccid(conn) else 'None'}]接收到新数据,长度{len(data)}字节。"
|
||||
print(t)
|
||||
print(data)
|
||||
print(data.hex(" "))
|
||||
s2wx("","",t)
|
||||
if tt_decode(conn, data):
|
||||
self.err= "切断。"
|
||||
|
Loading…
Reference in New Issue
Block a user