[Javanetsim-cvs] javaNetSim/core PC.java,1.2,1.3
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2005-11-19 13:14:05
|
Update of /cvsroot/javanetsim/javaNetSim/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24885/core Modified Files: PC.java Log Message: Index: PC.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/PC.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PC.java 19 Nov 2005 13:07:37 -0000 1.2 --- PC.java 19 Nov 2005 13:13:58 -0000 1.3 *************** *** 28,32 **** */ ! /** --- 28,32 ---- */ ! import core.protocolsuite.tcp_ip.Echo; /** *************** *** 47,51 **** */ protected PC(String inName) { ! super(inName,7); addNetworkInterface("eth0"); } --- 47,58 ---- */ protected PC(String inName) { ! super(inName,7); ! ! Echo echoServer = new Echo(NodeProtocolStack, 7, 1); ! Echo echoClient = new Echo(NodeProtocolStack, 0, 0); ! ! addApp(echoServer, 7); ! addApp(echoClient, 30007); ! addNetworkInterface("eth0"); } |