01 2008 档案

摘要:在Linux中加载IPv6地址. 阅读全文
posted @ 2008-01-29 20:22 shipfi 阅读(24802) 评论(0) 推荐(0)
摘要:这里写的一些代码,是最近工作中的总结. 不成片段,不能单独编译,但是在以后编程中可能会用到, 所以记录于此. 1.使用boost库创建线程. 以下创建两个线程,boost库允许给指定线程函数传入参数,可以用boost::bind()函数来指定线程函数的参数. void Fun1();void Fun2(string str_val);string str_1;boost::t... 阅读全文
posted @ 2008-01-22 19:39 shipfi 阅读(414) 评论(0) 推荐(0)
摘要:基于Linux IPv6流媒体配置的实现. 阅读全文
posted @ 2008-01-14 17:38 shipfi 阅读(5144) 评论(0) 推荐(0)
摘要:On Redhat 7.1 or above, NetSnmp has become the default snmp... But on other linux version. It is still a good guide. In this tutorial we will * download and install net-snmp, * write and install a simple MIB, * write a subagent to handle to mib. 阅读全文
posted @ 2008-01-07 13:50 shipfi 阅读(2297) 评论(2) 推荐(0)
摘要:关于SNMP的一些资料. 阅读全文
posted @ 2008-01-05 17:30 shipfi 阅读(6137) 评论(0) 推荐(0)
摘要:在Fedora6上编译log4cxx0.97版本所遇到的两个错误。导致编译不能通过。解决方法见正文。 阅读全文
posted @ 2008-01-04 22:46 shipfi 阅读(1480) 评论(0) 推荐(0)
摘要: 最近在工作中需要使用网络仿真器来设置网络中的速率,丢包,延迟. 在FreeBSD OS中可以使用DummyNet+Ipfw来进行设置.但是在Linux下有什么软件来进行模拟呢? 可供选择的有两种: 1.NistNet: 非常强大的工具,缺点是文档比较少. 2.NetEm: 简单实用.能够在网络环中“gives you to delay, reordering, loss, etc...” 关于NetEm. 对于我机器Fedora6的系统来说,已经自带了这个工具. 使用命令“tc”可以进行相应的设置. 这里有一篇NetEm的帮助,非常有用. 阅读全文
posted @ 2008-01-04 11:23 shipfi 阅读(3139) 评论(0) 推荐(0)