socket发送中文

客户端: byteData = Encoding.UTF8.GetBytes(message);

服务端: string receivedString = Encoding.UTF8.GetString(byteData,0,length);

posted @ 2013-02-15 21:09  louiskoo  阅读(2663)  评论(0编辑  收藏  举报