登录
首页 » C++ » UdpClient

UdpClient

于 2013-12-14 发布 文件大小:163KB
0 267
下载积分: 1 下载次数: 9

代码说明:

  在VS2010环境中,根据UDP协议通信的原理,用C++编写的基于UDP的客户端的代码。(In the VS2010 environment prepared by the UDP-based client C++ code)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • capturingPacketNoCallBlock
    使用winpcap非阻塞式抓取包(需要winpcap 库)(winpcap use nonblocking packet-capture (need winpcap Treasurer))
    2006-07-21 09:49:46下载
    积分:1
  • FEEMD_CODE
    快速集合经验模态分解程序,能够有效减少运算时间(Fast ensemble empirical mode decomposition program can effectively reduce the operation time)
    2018-05-17 17:04:12下载
    积分:1
  • LAN maintenance DIY
    局域网维护DIY-LAN maintenance DIY
    2022-03-12 17:50:45下载
    积分:1
  • 案例19
    基于概率神经网络的变压器油中溶解气体故障诊断(Fault Diagnosis of Dissolved Gas in Transformer Oil Based on Probabilistic Neural Network)
    2019-06-20 17:29:03下载
    积分:1
  • C# pop3 邮件接收程序
    private void Connect_Click(object sender, System.EventArgs e)        {            //将光标置为等待状态            Cursor cr = Cursor.Current;            Cursor.Current = Cursors.WaitCursor;            String a ,b,c;              //用110端口新建POP3服务器连接            Server = new TcpClient(PopServer.Text, 110);            Status.Items.Clear();             try            {                //初始化                NetStrm = Server.GetStream();                RdStrm = new StreamReader(Server.GetStream());                Status.Items.Add(RdStrm.ReadLine());                 //登录服务器过程                Data = "USER " Username.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 Data = "PASS " Password.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小                Data = "STAT" CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                //Status.Items.Add(RdStrm.ReadLine());                 //改变按钮的状态                Connect.Enabled = false;                Disconnect.Enabled = true;                Retrieve.Enabled = true;                 //将光标置回原来状态                Cursor.Current = cr;             }            catch (InvalidOperationException err)            {                Status.Items.Add("Error: " err.ToString());            }        }
    2014-11-02下载
    积分:1
  • 纯DHTML版的贪食蛇 cDHTMLbant
    纯DHTML版的贪食蛇 cDHTMLbant-pure DHTML version of the Tanshichi cDHTMLbant
    2022-06-02 12:34:28下载
    积分:1
  • Ping
    用C语言实现的ping 功能,经典实现,在VC下调试通过(Ping using C language functions implemented)
    2010-05-10 11:22:03下载
    积分:1
  • C++网络编程 卷1 运用ACE和模式消除复杂性.pdf
    C++网络编程 卷1 运用ACE和模式消除复杂性.pdf-C++ Network Programming Volume 1 to eliminate the use of ACE and model complexity. Pdf
    2022-07-04 17:37:48下载
    积分:1
  • 仿QQ
    通过skin.dll来仿照QQ界面
    2014-02-17下载
    积分:1
  • TCP/IP and Windows 95. Sources from DDJ article
    TCP/IP and Windows 95. Sources from DDJ article
    2022-02-14 00:51:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载