Re: udp-broadcast

From: Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Date: Tue Jul 24 2001 - 11:34:48 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:16 EST