[Ns-bugs] [Bug 170] New: Tcpsocket::connect(127.0.0.1) return 0 if no server exists

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Apr 14 19:27:05 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=170

           Summary: Tcpsocket::connect(127.0.0.1) return 0 if no server
                    exists
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: bug
          Severity: normal
          Priority: P3
         Component: internet-node
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: liujatp at gmail.com


it should return -1 in real-world application. 
Here i tracked Ns3 code, found it was due to Ipv4StaticRouting::LookupStatic()
returning hostRoute, it was true for UDP(no connect) but not for TCP.


-- 
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