diff --git a/SocketExample/TCPWindowV2.xaml.cs b/SocketExample/TCPWindowV2.xaml.cs index fef4552..ae8dae6 100644 --- a/SocketExample/TCPWindowV2.xaml.cs +++ b/SocketExample/TCPWindowV2.xaml.cs @@ -234,7 +234,7 @@ namespace SocketExample string dataLength = readStateString.Substring(4, 2);//获取字符串中内容长度 string commandState = readStateString.Substring(6, 2);//获取命令 - //if(commandState != "81") + if(commandState != "81") Infotext += $"({currentTime})客户端接收到信息:\n{hexString}\n\n"; int i = Convert.ToInt32(dataLength, 16);