> On some systems (BSD, perhaps?), the stack will special-case broadcast
> and iterate through the interfaces, broadcasting on the ones that
> match.  [...]

Yes, this code is originally from the BSD world, and that's the
semantic it's expecting.  (Broadcast on all appropriate I/F.)

It's convenient in a case like this for the code to remain
ignorant of how to list interfaces, get broadcast addr, etc.
I'd prefer to leave it that way if possible.

A quick web search for INADDR_BROADCAST turns up lots of
examples of application code that expect these semantics,
both on BSD and Windows systems.  I'd be surprised if we
would expect all such applications to change that.

Is hard to make this work in our network stack?

Thanks,
Gordon


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to