-
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
-
iproute2, 内含linux ip工具源码,route/arp等工具
Linux上强大的IP工具,用来查看与配置路由表、ARP表、NIC接口等信息。同时也是很好的网络编程学习范例。
- 2022-01-31 18:30:08下载
- 积分:1
-
linux实现ping
linux下模仿wireshark进行抓包, 并作简答分析. 并模拟ping, 向目标地址发送icmp请求包.
- 2022-07-27 14:23:31下载
- 积分:1
-
特征选择
这个程序是 FCBF 特征选择。一种基于相关度和相关性的特征选择方法
& 冗余分析。
- 2022-02-04 09:28:06下载
- 积分:1
-
nand ecc 4bit
资源描述镁光的ECC编码方案和解码方案,适用于MLC类型NANDFLASH,4bit纠错能力,里面还包括市面上难找的三星一款MLC类型NANDFLASHdatasheet作为参照-Micron s ECC coding schemes and decoding programs, apply to MLC type NANDFLASH, 4bit error correction ability, which also includes the market difficult to find a Samsung MLC type NANDFLASHdatasheet as a reference
- 2022-02-22 05:30:36下载
- 积分:1
-
linux 内核
这是一个linux内核用C语言编写。它包括:处理器,内存管理,不同的文件。
- 2022-04-15 03:20:24下载
- 积分: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
-
raw socket
udp RAW SOCKET EXAMPLE
UDP Raw socket的例子..怎么创建一个raw socket 怎么发送UDP包..怎么过滤包.
- 2022-02-21 14:13:14下载
- 积分:1
-
tinyftp 一个小型ftp服务端C源代码
tinyftp,一个小型的ftp服务端C源代码,用于学习之用。简单易读,很容易扩展。但是和标准的有些不一样,不过总算是个思路。简单易学,是学习web开发很好的基础。很好的linux c小程序,程序比较经典。
- 2022-05-21 02:26:52下载
- 积分:1
-
运动目标跟踪
#包括;
- 2022-02-05 07:34:41下载
- 积分:1