客户端: byteData = Encoding.UTF8.GetBytes(message);
服务端: string receivedString = Encoding.UTF8.GetString(byteData,0,length);
本文共 190 字,大约阅读时间需要 1 分钟。
客户端: byteData = Encoding.UTF8.GetBytes(message);
服务端: string receivedString = Encoding.UTF8.GetString(byteData,0,length);
转载于:https://www.cnblogs.com/liuxinls/archive/2013/02/15/2912931.html