具有缓冲区功能的UDP数据传输类(UDP data transport class with buffer function).docVIP

  • 8
  • 0
  • 约2.02千字
  • 约 8页
  • 2017-07-24 发布于河南
  • 举报

具有缓冲区功能的UDP数据传输类(UDP data transport class with buffer function).doc

具有缓冲区功能的UDP数据传输类(UDP data transport class with buffer function)

具有缓冲区功能的UDP数据传输类(UDP data transport class with buffer function) 使用系统; 使用系统文本; 使用系统集合; 使用system.windows.forms; 使用系统网; 使用系统线程; 使用系统集合; 使用系统。网。插座;// UdpClient的命名空间 命名空间的UDP { 摘要 / / / ----名称:UDP通讯类 // // 备注 / / / ----使用说明与定义: // //备注 公共课udpconnect /具有缓冲区功能的UDP数据传输类 { 摘要 / / /缓冲区 // 私人只读队列字符串 字符串 sendqueue =新的队列(1000);//发送队列 私人只读队列字符串 字符串 recqueue =新的队列(1000);//接收队列 摘要 / / / UDP对象 // 私人UdpClient m_client; 摘要 / / /对方IP // m_remoteip字符串; 摘要 / / /远程通讯端口 // 私有m_remoteport; 公共udpconnect(字符串remoteip,int端口传送过来的远端,int LocalPort) { m_client =新UdpClient(LocalPort);/ /绑定本地端口 m_remoteip = remoteip; m_rem

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档