登录
首页 » Windows Socket编程 » CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实...

CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实...

于 2023-07-22 发布 文件大小:126.03 kB
0 39
下载积分: 2 下载次数: 1

代码说明:

CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实际处理UDP 数据报的功能紧耦合,这需要通过继承实现,同时设置workmode 为auto_receive(参见SetWorkdMode),另外一种是直接作为单独对象出现,此时用户需要使用Recv成员函数自己处理数据的接收。-CUdpSocket is to simplify this, the analytical data reported by the UDP with a base class. This type of packaging based SOCK_DGRAM the most basic operation. This provides two types of work, is a practical and UDP data processing function of tight coupling, it needs to achieve through inheritance, as set workmode auto_receive (see SetWorkdMode), the other is directly emerging as a separate object, users need to use this member function since Recv others receiving data processing.

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

发表评论

0 个回复

  • 2022-03-16 15:53:40下载
    积分:1
  • 这个是用C++出来的实时的语音通信序可以听到自己和别人的声音,应该说挺好的...
    这个是用C++编程出来的实时的语音通信程序可以听到自己和别人的声音,应该说挺好的-the C programming is the real-time voice communication procedures can hear his own and other people"s voices should be said that in very good shape;
    2022-02-15 23:00:11下载
    积分:1
  • Release Notes for IDT77222/252 Windows NDIS5 ATM Device Driver, version 1.3
    Release Notes for IDT77222/252 Windows NDIS5 ATM Device Driver, version 1.3
    2022-11-19 23:35:03下载
    积分:1
  • 用c++写的一个小型的网上拍卖系统。实现的功能:1.添加拍卖物2.竞标...
    用c++写的一个小型的网上拍卖系统。实现的功能:1.添加拍卖物2.竞标-With c++ Written a small web-based auction system. To achieve the functions of: 1. Add auction complex 2. Bid
    2022-06-16 00:01:02下载
    积分:1
  • 在VB环境下的帮助你远获取MAC的代码 相当好用哦
    在VB环境下的帮助你远程获取MAC的代码 相当好用哦 -in VB environment with the help of remote access to your MAC code very handy oh
    2023-07-27 21:20:03下载
    积分:1
  • Inis库 从此摆脱Winsock控件 欢迎下载
    Inis库 从此摆脱Winsock控件 欢迎下载-err
    2022-05-19 17:59:34下载
    积分:1
  • 这是帮人完成的本地IP地址查询实验.可以查询本机的ip地址。
    这是帮人完成的本地IP地址查询实验.可以查询本机的ip地址。 -this is to help people complete the local IP address inquiries experiment. The machine can find the ip address.
    2022-12-26 09:30:03下载
    积分:1
  • 在Microsoft 网 络 系 统 中,SMB(Server Message Block, 服 务 信 息 块) 协 议 是Windows for Workg...
    在Microsoft 网 络 系 统 中,SMB(Server Message Block, 服 务 信 息 块) 协 议 是Windows for Workgroup(WfWg)、Windows 95、Windows NT 和LanManager 用 来 实 现 共 享 局 域 网 上 文 件 和 打 印 机 的 协 议。 对 于 利 用Linux 和Windows NT 构 建 的 局 域 网 来 说,Samba 就 是 为Linux 提 供 的SMB 客 户 程 序/ 服 务 器 程 序 的 软 件 包, 其 功 能 是 实 现Windows 和Linux 互 相 共 享 对 方 的 磁 盘 空 间 和 打 印 -in Microsoft network systems, SMB (Server Message Block, service information block) protocol for Windows Workgroup (WfWg), Windows 95, Windows NT and LanManager used for LAN file sharing and printer agreement. The use of Linux and Windows NT LAN Construction, Samba for Linux is provided by the SMB client/server software package, and its function is to achieve mutual Windows and Linux to share each other"s disk space and Print
    2022-03-03 09:04:21下载
    积分:1
  • the client for communicating by tcp
    基于tcp通信的客户端源代码,可以与基于TCP通信的服务器端实现链接并通话-the client for communicating by tcp
    2022-03-20 01:33:51下载
    积分:1
  • examples of the complete simulation of FTP functions. In 2000 server port for th...
    该实例完成模拟的FTP功能.服务器程序在2000端口进行侦听,并进入等待连接状态.客户端尝试和服务器端的连接.连接一旦建立,就可以在服务器端和客户端之间进行文件传输,程序里要求文件夹小于32KB.客户端提示输入文件各,该文件名可以带路径,服务器收到文件后,将其写到相应位置.-examples of the complete simulation of FTP functions. In 2000 server port for the interception, and went to wait for the state of the link. Client and server-side to the other. Connecting once established, can the server and client file transfer between that the procedures requested folder is less than 32KB . the client suggested the importation document, the file name can bring path, the server received the documents, wrote to the corresponding location.
    2023-08-10 12:45:04下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 46今日下载