[Ns-bugs] [Bug 51] New: Allow UDP sockets to receive broadcast
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Jul 15 16:05:53 PDT 2007
http://www.nsnam.org/bugzilla/show_bug.cgi?id=51
Summary: Allow UDP sockets to receive broadcast
Product: ns-3
Version: pre-release
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P1
Component: node module
AssignedTo: ns-bugs at isi.edu
ReportedBy: gjcarneiro at gmail.com
Some context:
For my OLSR code, I need to use two UDP sockets, bound to the same OLSR port.
One is bound to address 0.0.0.0 in order to receive OLSR packets on all
interfaces. Another one is bound the "main address", which is the address of
one of the node netdevices. This second socket is used for sending OLSR
packets, and binding it to the main address is needed to ensure that OLSR
packets are always sent with that address as source, regardless of the
interface that actually transmits it. This is required by the OLSR protocol.
Now the problem; it is two fold:
1. Currently, UDP sockets are not receiving broadcast packets;
2. NS-3 is allowing multiple sockets bound to the same port, but only allows
one of them to actually receive the packets, which is clearly wrong.
--
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