[Ns-bugs] [Bug 51] Allow UDP sockets to receive broadcast

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri Sep 21 09:28:19 PDT 2007


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





------- Comment #6 from gjcarneiro at gmail.com  2007-09-21 12:28 -------
My code is:

NS_TEST_ASSERT_EQUAL (txSocket->SendTo (InetSocketAddress
(Ipv4Address("255.255.255.255"), 1234), Packet (123)), 0);

But:

std::list<ns3::Ipv4EndPoint*, std::allocator<ns3::Ipv4EndPoint*> >
ns3::Ipv4EndPointDemux::Lookup(ns3::Ipv4Address, uint16_t, ns3::Ipv4Address,
uint16_t) ==> (daddr=10.0.255.255, dport=1234, saddr=10.0.0.2, sport=49153)

So, something is transforming the destination address 255.255.255.255 into
10.0.255.255.  Is this correct?


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