[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip Echo_tcp.java, 1.25, 1.26
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-09-03 13:56:57
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv21170/core/protocolsuite/tcp_ip Modified Files: Echo_tcp.java Log Message: Index: Echo_tcp.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Echo_tcp.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Echo_tcp.java 3 Sep 2006 13:49:15 -0000 1.25 --- Echo_tcp.java 3 Sep 2006 13:56:54 -0000 1.26 *************** *** 33,36 **** --- 33,37 ---- private byte ConnectionAttempts=1; private int counts; + private int crecv; private long utc1; *************** *** 172,176 **** */ public void RecvData(String Data) throws LowLinkException, TransportLayerException { ! System.out.println(Data); //processing the protocol doings. if(appType == 0){ --- 173,178 ---- */ public void RecvData(String Data) throws LowLinkException, TransportLayerException { ! crecv++; ! System.out.println(Data + ":" + crecv); //processing the protocol doings. if(appType == 0){ *************** *** 256,259 **** --- 258,263 ---- mParentStack.FreeTCPApplication(this); + crecv = 0; + this.counts = counts; |