添加接收数据hex显示

This commit is contained in:
murmur 2023-04-02 17:13:20 +08:00
parent 8747f10fd0
commit 659cf4be48

View File

@ -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= "切断。"