> If you have no default gateway you can still add an explicit route for
> the 255.255.255.255 address to specify the local Ethernet, and it will
> work.
That is true, making that configuration change would also make it
work. (In fact, having a gateway configured to even a garbage address
seems to make it work...) Unfortunately, that still doesn't
change the fact that WINE's sendto() seems to be behaving
differently from Windows. Windows is able to sendto() the
broadcast address without any gateways or explicit routes
configured.
Also, to add a route (at least in Linux, I assume all Unixes)
you need to be root user. It is conceivable that people
without superuser powers could be using WINE.
> I'm not convinced that having Wine manually broadcast to all
> interfaces is the right thing to do.
Well, it was my first cut at the problem. I'm certainly open
to suggestions of more clean ways to solve this problem.
Thanks,
-James