[Ns-bugs] [Bug 174] tcp now fails to send in the backward direction. (orginally it hung)
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Wed Jun 4 06:08:30 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=174
------- Comment #5 from mathieu.lacage at sophia.inria.fr 2008-06-04 09:08 -------
(In reply to comment #4)
> Created an attachment (id=145)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=145&action=view) [edit]
> simple two way tcp test program using what I guess is the current API.
>
> I can't tell where the bug is in my code or ns-3-dev, the docs for Socket seems
> to have disappeared from doxygen generated web pages. I think I'm using the API
yes, a lot of docs seem to have disapeared from the output. We need another bug
to track that issue.
> correctly using the force (aka looking at the source), but I'm not sure. I
> would like to see some sort of bi-direction test added to ns-3 distro so that
> this sort of functionality gets tested.
would you mind provide one ?
>
> This program should send bytes both ways, but it doesn't it only send bytes the
> forward direction.
>
> Output:
>
> evensky at waltz$ ./tcp-tester 600 700
> TalkerApp::ConfSend(0x62d780,02-06-0a:01:00:02:20:00,600) Client
> TalkerApp::ConfRecv(0x62de10,02-06-00:00:00:00:20:00,700) Server
> TalkerApp::StartApplication() Client
> TalkerApp::StartApplicationSend() Client
> TalkerApp::SendPacket(Hello,S,600) Client
> TalkerApp::StartApplication() Server
> TalkerApp::StartApplicationRecv() Server
> TalkerApp::ConnectionRequested(0x632cd0,02-06-0a:01:00:01:01:c0): Server
> TalkerApp::ConnectionSucceeded(0x6312c0): Client
> TalkerApp::ConnectionCreated(0x6333e0,02-06-0a:01:00:01:01:c0): Server
> TalkerApp::HandleRead(0x6333e0): Server
> TalkerApp::SendPacket(BackAtYou,R,700) Server
> 536 bytes from 10.1.0.1 [02-06-0a:01:00:01:01:c0] Payload
> (size=536)|ns3::SocketRxAddressTag [0-536] address=00-00-00
> TalkerApp::HandleRead(0x6333e0): Server
> 64 bytes from 10.1.0.1 [02-06-0a:01:00:01:01:c0] Payload
> (size=64)|ns3::SocketRxAddressTag [0-64] address=00-00-00
>
> What does the 02-06 part of the mac addr mean? What is the address tag in the
> packet used for?
the 02-06 part identifies the type (02: Mac48 on your system) and the length
(06 bytes). The address tag is used to provide the to address to the Send
(Ptr<Packet> p) function.
--
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