Re: udp-broadcast

Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Tue, 24 Jul 2001 18:34:48 +0200


On Tue, Jul 24, 2001 at 05:00:45PM +0200, Antwerpen, Oliver wrote:
> Moin!
>
> ret = setsockopt(my_socket, IPPROTO_UDP, SO_BROADCAST, (void *)&flag,
> sizeof(flag) );

Try setsockopt(tx_socket,SOL_SOCKET,SO_BROADCAST,..).

And use an actual broadcast-address as sender.

HTH & Regards

Ingo Oeser

-- 
Use ReiserFS to get a faster fsck and Ext2 to fsck slowly and gently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/