[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip TCP_packet.java, 1.2, 1.3
Status: Beta
Brought to you by:
darkkey
From: gift <gi...@us...> - 2006-11-20 17:20:31
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv30061/core/protocolsuite/tcp_ip Modified Files: TCP_packet.java Log Message: Index: TCP_packet.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/TCP_packet.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TCP_packet.java 25 Feb 2006 01:11:54 -0000 1.2 --- TCP_packet.java 20 Nov 2006 17:20:20 -0000 1.3 *************** *** 98,102 **** private int acknowledgment_number; //important field as well ;) ! boolean flags[] = {false,false,false,false,false,false}; /* URG, ACK, PSH, RST, SYN, FIN */ private int TCP_window; //for future developing :) --- 98,102 ---- private int acknowledgment_number; //important field as well ;) ! private boolean flags[] = {false,false,false,false,false,false}; /* URG, ACK, PSH, RST, SYN, FIN */ private int TCP_window; //for future developing :) *************** *** 112,116 **** private static final int HEAD_LENGTH = 22; //TCP header is 22 bytes ! private static final int MAX_LENGTH = 65535; //bytes is UDP datagramm maximum length --- 112,116 ---- private static final int HEAD_LENGTH = 22; //TCP header is 22 bytes ! private static final int MAX_LENGTH = 65535; //bytes will be maximum length |