62,266
社区成员
发帖
与我相关
我的任务
分享
//客户端解压
/// <summary>
/// 接受服务端用户信息接收结果
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void ReviceServerResult(object sender, SocketAsyncEventArgs e)
{
try
{
Wrapper wr = new Wrapper();
Dictionary<string, string> dicSendResult = new Dictionary<string, string>();
dicSendResult = (Dictionary<string, string>)wr.DecompressAndDeserialize(dicSendResult.GetType(), e.Buffer);
}
catch (Exception ex)
{
}
}