登录
首页 » Windows Socket编程 » The code of LAN Multicast Communication, a multicast group by adding features fr...

The code of LAN Multicast Communication, a multicast group by adding features fr...

于 2022-03-25 发布 文件大小:81.64 kB
0 347
下载积分: 2 下载次数: 1

代码说明:

本代码时对局域网中多播通信的实现,有加入多播组功能,退出多播组功能,多播显示发送接收消息等。-The code of LAN Multicast Communication, a multicast group by adding features from the multicast group function, multicast, etc. show the send receive messages.

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

发表评论

0 个回复

  • 做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信...
    做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。-To do more client and server-side two-way communication, using QLocalSocket/QLocalServer to achieve them simple, but the communication efficiency is too low, the client made the data, the server-side readyRead the signal delay of about 100ms (see QT source code found inside using a 100ms timer device to detect the signal), and later their shining QLocalSocket encapsulates the idea of windows named pipes, using multiple threads to receive data, tested on this machine, the communication efficiency has clearly improved.
    2022-05-28 11:28:15下载
    积分:1
  • p-持续CSMA协议下,一个用户在发送之前,先侦听信道,若是空闲,就以概率p发送出去,而以q =1-p的概率推迟到下一帧时。如果下一帧时仍是空闲,便再次以概率p发送而以q推迟到再下一帧时。直到发送成功或另外一用户开始发送时为止。若一开始就侦听到信道忙,它就等到下一帧时,然后再开始上述过程。若发生冲突,这等待一随机时间后重新开始。本实验中取q值为0.5。求的是0.5-持续CSMA。 -p-persistent CSMA agreement, a user before sending the first interception channel, if idle, with probability p sent, and to q = 1-p probability postponed to the next frames. If the next frame was still idle, they again sent with probability p and q to further postponed to the next frames. Until this a success or other users at the beginning of this date. If an interception at the start of the busy channel, it will wait till the next frames, and then begin the process. If conflict breaks out, waiting for a random period of time after the re-start. The experiments take q value of 0.5. For the 0.5-sustained CSMA.
    2022-02-07 21:49:23下载
    积分:1
  • java编写的聊天程序c/s 是我们课程设计的时候编写的。
    java编写的聊天程序c/s 是我们课程设计的时候编写的。-java chat preparation procedures c /"s courses are designed to prepare the course.
    2022-11-20 15:30:03下载
    积分:1
  • 网络控件源码 在这个空间的帮助下 可以用access作为网络服务器的数据库(大家都知道 access一般只用于单机版)...
    网络控件源码 在这个空间的帮助下 可以用access作为网络服务器的数据库(大家都知道 access一般只用于单机版)-ctrol sorce code for extend the access to the network server database management software
    2022-05-19 05:35:06下载
    积分:1
  • 关于FTP的代码,支持网络间的文件传输,用户权限的设定.
    关于FTP的代码,支持网络间的文件传输,用户权限的设定.-on FTP code, the support network file transfer, set user privileges.
    2022-01-31 12:07:58下载
    积分:1
  • 采用完成端口进行sockets操作。 由浅入深的解释、详细的分析、以及编码步骤,另外附上带有详细注释的源码(为了照顾大多数朋友,我提供的都是MFC的源码)。...
    采用完成端口进行sockets操作。 由浅入深的解释、详细的分析、以及编码步骤,另外附上带有详细注释的源码(为了照顾大多数朋友,我提供的都是MFC的源码)。-completed using sockets for port operations. Elementary explanation, detailed analysis, and coding steps, the other with detailed explanatory note attached to the source code (in order to take care of most friends, and I are all for the MFC source).
    2022-02-14 10:13:18下载
    积分:1
  • 输入局域网中的主机的IP地址就可以得到对方的MAC地址!
    输入局域网中的主机的IP地址就可以得到对方的MAC地址!-importation hosts on the LAN IP address can be on the other side of the MAC address!
    2023-05-29 19:05:03下载
    积分:1
  • WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CLis...
    WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
    2022-01-26 07:55:19下载
    积分:1
  • WINSOCK简单介绍
    WINSOCK简单介绍-briefed Winsock
    2022-01-30 20:12:05下载
    积分:1
  • 网络监听,可以查到包源及目的地址,可以分析数据包的内容...
    网络监听,可以查到包源及目的地址,可以分析数据包的内容-eavesdropping network can check packet source and destination addresses can analyze the contents of data packets
    2022-04-01 14:10:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载