Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2003 18:40:08 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Bill Fenner <fenner@research.att.com>, freebsd-net@freebsd.org, wes@freebsd.org
Subject:   Re: Receiving INADDR_BROADCAST packets
Message-ID:  <20030824174008.GI1417@spc.org>
In-Reply-To: <20030822183018.GH1417@spc.org>
References:  <200308221318.h7MDIwW24087@windsor.research.att.com> <20030822183018.GH1417@spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 22, 2003 at 07:30:18PM +0100, Bruce M Simpson wrote:
> I probably wouldn't need to bind sockets to each interface if I were doing
> purely broadcast traffic. I'm happy with what works for the time being,
> however; I may revisit this if I ever implement IPv6 support for the daemon
> I'm currently hacking. IP_ONESBCAST has saved a lot of trouble for me.

I take that back, I just rewrote my code to use IP_SETSRCADDR and have
seen a corresponding shrink in my interface setup and event dispatch code.

This rocks!

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030824174008.GI1417>