[Ns-bugs] [Bug 166] Loss of Tag and change in size of Packet using TCP.
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Wed Apr 16 08:41:19 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=166
------- Comment #11 from raj.b at gatech.edu 2008-04-16 11:41 -------
okay, the byte being dropped was a consequence of counting the SYN as a
sequenced byte and then not updating the state of the data buffer to reflect
this. fix in:
2917:8ef8431d56d5
Output of first test case:
g++ -DNS3_ASSERT_ENABLE -DNS3_LOG_ENABLE -DDEBUG -g -O0
-I/home/raj/code.nsnam.org/ns-3-dev/build/debug -I.
-L/home/raj/code.nsnam.org/ns-3-dev/build/debug -lns3
-Wl,-rpath=/home/raj/code.nsnam.org/ns-3-dev/build/debug -o tcp-tester
tcp-tester.cc
raj at raj-desktop:~/Desktop/ns-3 Files/bug166$ ./tcp-tester
TalkerApp::ConfRecv(0x8068ce0,00:00:00:00:20:00) Server
TalkerApp::ConfSend(0x8068750,0a:01:00:02:20:00) Client
TalkerApp::StartApplication() Server
TalkerApp::StartApplicationRecv() Server
TalkerApp::StartApplication() Client
TalkerApp::StartApplicationSend() Client
writing packet Client
Payload (size=536)(tag=17)
TalkerApp::CloseConnection(): Client
TalkerApp::ConnectionRequested(): Server
TalkerApp::ConnectionSucceeded(): Client
TalkerApp::ConnectionCreated(): Server
Received 536 bytes from 10.1.0.1 [0a:01:00:01:01:c0]---''
Payload (size=536)
TalkerApp::ConnectionCloseRequested(): Server
TalkerApp::CloseConnection(): Server
As can be seen, the tag issue however is still open.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list