Christian Helmuth wrote:
On Mon, Mar 21, 2005 at 11:36:17AM +0000, Tiago Jorge wrote:
now i'm having another problem...
i've set those lines and he changed the broadcast addr in the NIC but refuses to send through broadcast adress again.
i'm setting the broadcast like this:
[...]
is there a similar "problem" with the setsockopt function? is it doing an empty call like ioctl was doing? beacause he returns me no error at all.
AFAIK after a glimpse at the FLIPS code, setsockopt() should work like on original Linux 2.4. Does it really work this way on Linux?
In Linux, this test works fine. I thought it was from the broadcast socket address was not set, but i've setted it with ioctl (yes... i know you don't like but...;)) and still gives me error sending in broadcast... but setsockopt doesn't return any error at all... I have my app working on linux like this :). i don't know if somethings missing in the NIC configuration...
thanks
Tiago