-
linux下的文件分享程序
一个简易的linux平台下的文件分享程序,使用C语言开发,能够传输文件便于分享。使用了若干c++的stl标准库来增加效率。
- 2022-05-26 10:26:18下载
- 积分:1
-
rtsp访问点播系统源码
通过对rtsp协议交互过程的实现,达到对校园网点播系统的实时访问,获得流媒体资源
- 2022-07-18 18:17:14下载
- 积分:1
-
mini2440 上MINI emc2 的下载问题件
mini2440 上MINI emc2 上的下载文件 ,如果有MINI2440的可以测试一下哦 !
- 2022-09-13 21:00:04下载
- 积分:1
-
通信代码(点对点_点对多_同步_异步_UDP_TCP)
C_完整的通信代码(点对点_点对多_同步_异步_UDP_TCP) C# codeusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace UDPClient{ class Program { static void Main(string[] args) { byte[] data = new byte[1024]; string input ,stringData; //构建TCP 服务器 Console.WriteLine("This is a Client, host name is {0}", Dns.GetHostName()); //设置服务IP,设置TCP端口号
- 2022-10-24 01:50:04下载
- 积分:1
-
Linux下的聊天室
应用背景
This is the server and client code in C for a simple chat program for multiple client communication.
This repository contains code for a very simple chat program implemented on the linux system, using base system libraries and the C programming language. The program consists of two major components, the first being the server program and the second is the Client program.
关键技术
The server program maintains a list of clients and also a queue of client messages. It uses semaphores to make sure synchronisation errors do not occur.
The server program accepts one optional input argument – listen_port_number. If this argument is missed, the server will use the default port number 3500 (defined in the provided header file chat_server.h). Once it starts, it runs forever. To ter
- 2023-07-14 01:50:03下载
- 积分:1
-
netlink内核与用户空间通信 完整例子
用户空间发送一个消息到内核,“this message is from eric"s space",消息长33字节,因为 printf("message sendto kernel are:%s, len:%d
", (char *)NLMSG_DATA(message), message->nlmsg_len); message->nlmsg_len = NLMSG_SPACE(strlen(data)); 中的NLMSG——SPACE,四字节对齐,所以消息长为36,加上消息头长为16,len为52。 内核将收到的netlink消息打印,并返回用户空间一条自己的消息,长39,四字节对齐为40,加上消息头为56。
- 2023-06-06 23:55:04下载
- 积分:1
-
QT连连看游戏设计
用Qt制作连连看游戏论文。通过Qt-gui运用c++制作的简单的小游戏有一定的代码。个人的毕业设计。
- 2022-03-30 05:28:51下载
- 积分:1
-
NS2 AODV代码
模拟NS2与AODV协议。此源代码有助于了解协议的网络。此狂欢延迟在网络中的数据包吞吐量,网络带宽和分组结束。
- 2022-11-07 10:20:03下载
- 积分:1
-
NS2优化链路状态路由协议
本文档描述了优化链接状态路由 (OLSR)移动自组网的议定书 》。议定书 》 是一项优化古典的链路状态算法的量身定做的要求移动的无线局域网。在议定书 》 中使用的关键概念在于,多点继电器 (MPRs)。论述是所选的节点的转发在驱油过程中的广播的消息。这种技术极大地减少了开销比经典消息驱驱油机理,在那里每个节点转发每个消息时它接收消息的第一个副本。在 OLSR,链路状态只有通过节点当选为论述生成信息。因此,通过最小化的控制数实现了第二次优化消息在网络中被淹。作为一个第三的最优化,MPR节点可以选择报告本身和其 MPR 之间的唯一联系选择器。因此,作为对经典的链路状态算法,相反部分链接状态信息分布在网络中。这信息然后用于路由计算。OLSR 提供(以跃点数) 的最佳路线。议定书 》 是特别适用于大面积、 高密度的网络,作为这项技术好在这方面的论述作品。
- 2022-03-14 21:44:42下载
- 积分:1
-
Aodv 实现
在 tcl/tk 的 Aodv 实施。编码,并进行完整描述。任何人都可以很容易的理解它。
- 2022-07-02 17:16:17下载
- 积分:1