Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22082/core/protocolsuite/tcp_ip
Modified Files:
Tcp.java
Log Message:
Index: Tcp.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Tcp.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** Tcp.java 2 Sep 2006 10:33:49 -0000 1.48
--- Tcp.java 2 Sep 2006 11:39:19 -0000 1.49
***************
*** 481,488 ****
else
{ //nothing to resend, but numRepeat>0
! System.out.println("Timer cancel - part1!");
try{
! Elm.timer.cancel();
! this.cancel();
Elm.timer = null;
}catch(Exception e){
--- 481,491 ----
else
{ //nothing to resend, but numRepeat>0
! System.out.println("Timer cancel - part1! NumRepeat = " + numRepeat);
try{
! if(Elm.ApplicationStatus==0) System.out.println(0);
! if(Elm.timer!=null){
! Elm.timer.cancel();
! this.cancel(); // ??? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
! }
Elm.timer = null;
}catch(Exception e){
|