Chinaunix首页 | 论坛 | 博客
  • 博客访问: 161271
  • 博文数量: 43
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 675
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-26 00:58
文章分类
文章存档

2014年(2)

2013年(41)

我的朋友

发布时间:2014-02-25 00:23:14

一、需求  采用基于应用协议的策略路由。我们把这个功能简称为应用路由。如下图所示,具体要求是:来自主机1~4的数据包,在应用路由进行处理,并根据不同的应用层协议进行策略路由,比如将所有的P2P下载和网路电视分流到传统网络,将ssh这类安全协议的数据包分流到量子网络的接口。要实现这个功能,.........【阅读全文】

阅读(2514) | 评论(0) | 转发(0)

发布时间:2013-08-25 10:28:38

进入正文: 代码简化, 促进跨平台开发的目的. typedef 行为有点像 #define 宏,用其实际类型替代同义字。 不同点:typedef 在编译时被解释,因此让编译器来应付超越预处理器能力的文本替换。用法一:typedef int (*MYFUN)(int, int); 这种用法一般用在给函数定义别名的时候上面的例子定义MYFUN .........【阅读全文】

阅读(1367) | 评论(0) | 转发(0)

发布时间:2013-08-23 20:20:16

P { margin-bottom: 0.21cm; direction: ltr; color: rgb(0, 0, 0); }P.western { font-family: "DejaVu Serif",serif; font-size: 12pt; }P.cjk { font-family: "DejaVu Sans"; font-size: 12pt; }P.ctl { font-family: "Lohit Hindi"; font-size: 12pt; }1.安装软件的时候经常会创建一些用户,这些用户没有密码,为什.........【阅读全文】

阅读(1274) | 评论(0) | 转发(0)

发布时间:2013-08-23 20:16:35

P { margin-bottom: 0.21cm; direction: ltr; color: rgb(0, 0, 0); }P.western { font-family: "DejaVu Serif",serif; font-size: 12pt; }P.cjk { font-family: "DejaVu Sans"; font-size: 12pt; }P.ctl { font-family: "Lohit Hindi"; font-size: 12pt; }标准IO库1.fread,fgets等函数都是从缓冲区读取数据,当缓.........【阅读全文】

阅读(1023) | 评论(0) | 转发(0)

发布时间:2013-08-23 20:13:10

P { margin-bottom: 0.21cm; direction: ltr; color: rgb(0, 0, 0); }P.western { font-family: "DejaVu Serif",serif; font-size: 12pt; }P.cjk { font-family: "DejaVu Sans"; font-size: 12pt; }P.ctl { font-family: "Lohit Hindi"; font-size: 12pt; }A:link { }第一个问题:linux下时间的表示structtime.........【阅读全文】

阅读(1178) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册