[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 11:53:33 PDT 2007
http://www.nsnam.org/bugzilla/show_bug.cgi?id=51
------- Comment #11 from gjcarneiro at gmail.com 2007-09-21 14:53 -------
(In reply to comment #9)
> Response to your question in comment #6:
>
> There appear to be different possible correct behaviors, one of which is what
> is implemented in ns-3. Note that it differs from Linux.
>
> From Stevens, UNP, vol 1, ed. 3, p. 532.
The project as a whole has to decide whether to be thoroughly pedantic, or to
be as easy to program as possible. After deciding that, document the decision
and with time enforce it everywhere. What NS-3 should NOT do is change
behavior over time, since it breaks code maintained outside of ns-3-dev, like
the olsr code.
In this case I also don't think the behavior or 255.255.255.255 is not fully
specified in RFCs because "sockets" are mostly a Operating System concept, not
a protocol issue.
Finally, keep in mind that if we don't allow the flexibility of multiple
sockets being able to receive broadcast packets then I would have to stop using
sockets for OLSR (explanation of why is in my first comment), which would be a
pity...
--
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