
C/Linux
文章平均质量分 79
tsinghuahkq
这个作者很懒,什么都没留下…
展开
-
字符、字符数组(字符串)与指向字符串的指针
今天在写一个简单的面向连接的TCP Socket程序时(UNIX Network Programming上的时间服务器和客户端例子)。有个简单的改变是将从服务器返回的日期字符串 改成一个字符一个字符的返回。修改之前是这样子的://ticks = time(NULL); snprintf(buff, sizeof(buff), "%.24s\r\n", ctime(&ticks)原创 2012-09-09 10:17:44 · 668 阅读 · 0 评论 -
分布式文件传输
DescriptionFor this programming assignment you will write two pieces of code: the "sender" and the "requester". The sender will chunk the requested file and send it via UDP packets to the requester.转载 2012-11-26 08:55:30 · 581 阅读 · 0 评论 -
网络仿真器与可靠传输
1. DescriptionIn this project you will implement a network emulator and add reliable transfer to your file transfer in the previous assignment. As with the first programming assignment, you are to w转载 2012-11-26 08:56:36 · 402 阅读 · 0 评论 -
compiling-linux-kernel-module
http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html原创 2013-06-24 22:10:04 · 499 阅读 · 0 评论