[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip Tcp.java, 1.80, 1.81
Status: Beta
Brought to you by:
darkkey
From: QweR <qw...@us...> - 2006-09-08 12:30:57
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10165/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.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** Tcp.java 7 Sep 2006 17:20:29 -0000 1.80 --- Tcp.java 8 Sep 2006 12:30:52 -0000 1.81 *************** *** 114,117 **** --- 114,121 ---- + private static int iiiiii=0; + + + private Hashtable PortTable = new Hashtable(); private ProtocolStack mParentStack; *************** *** 189,193 **** Error.Report(e); }*/ - Elm.timer=new Timer(); Elm.timer.schedule(new TCPTask(Elm,TCP_CONNECT_TIME,this, inREP, ++timerid),TCP_CONNECT_TIME,TCP_CONNECT_TIME); --- 193,196 ---- *************** *** 208,212 **** Elm.busy = false; Error.Report(e); ! } } --- 211,215 ---- Elm.busy = false; Error.Report(e); ! } } *************** *** 286,289 **** --- 289,293 ---- Elm.timer.cancel(); this.cancel(); // ??? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + System.out.println("\n\n\n\n@@@@@@@@@@@@@@@@@@@@@@@@@ Elm.timer <<<<<<<<<<<<<<<<<<<<<<<\n\n\n\n"); } Elm.timer = null; *************** *** 1003,1007 **** //we have received an answer for our SYN-segment //a little test ! if (!(inPacket.get_ACK_flag())) throw new TransportLayerPortException("TCP Error: No ACK flag in answer for SYN packet is set in the segment!"); //in case this is not duplicate --- 1007,1011 ---- //we have received an answer for our SYN-segment //a little test ! // if (!(inPacket.get_ACK_flag())) throw new TransportLayerPortException("TCP Error: No ACK flag in answer for SYN packet is set in the segment!"); //in case this is not duplicate |