标题:C# 网络编程小问题
取消只看楼主
h19891338
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2008-5-11
 问题点数:0 回复次数:0 
C# 网络编程小问题
private void Proccess()
        {
            if (acceptedSocket.Connected)
            {
                while (flag)
                {
                    byte[] receiveByte = new byte[64];
                    acceptedSocket.Receive(receiveByte, receiveByte.Length, 0);
                    string strInfo = Encoding.BigEndianUnicode.GetString(receiveByte);
                    this.Invoke(new SetTextCallback(SetText), new object[] { strInfo });

                }
            }
      }

acceptedSocket.Receive(receiveByte, receiveByte.Length, 0);

this.Invoke(new SetTextCallback(SetText), new object[] { strInfo });不清楚是什么意思
能不能讲讲啊
搜索更多相关主题的帖子: 网络 
2008-05-13 07:37



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-214024-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.219251 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved