摘要: 1)kad被firewalled. 打开amule端口,采用的是默认的 iptables -A INPUT -p tcp --dport 4662 -j ACCEPT iptables -A INPUT -p udp --dport 4665 -j ACCEPT iptables -A INPUT -p udp --dport 4672 -j ACCEPT 参考:http://wiki.amule.org/index.php/Firewall2)lowid的问题 具体的描述在eMule Fans上找到解释,方法就是在路由器的转发规则里面,添加三个端口(4662,4665,4672)映射 ... 阅读全文
posted @ 2012-02-22 16:05 qinglouer 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 简单的polymorphism例子,有助于理解java的多态。public class Animal{ public void move(){ System.out.println("running");} public static void main(String args[]){ Animal a = new Animal(); Animal b = new Bird(); Bird c = new Bird(); Animal d = new Fish(); a.move(); b.move(); c.move(); d.move(); }}class Bird e 阅读全文
posted @ 2012-02-22 13:03 qinglouer 阅读(176) 评论(0) 推荐(0) 编辑